Open Bug 616830 Opened 14 years ago Updated 1 month ago

window.open wrong size every time if I set width = 380 height = 200

Categories

(Core :: Widget: Win32, defect, P3)

x86
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: sephirot_germany, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 BTRS69229 Firefox/3.6.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 BTRS69229 Firefox/3.6.12

window.open wrong size. it show popup  full screen in maximize size every time if I set width = 380 height = 200 
but if I change width or height in 1 pixel for this popup it will show true size

example
window.open('http://www.google.com','bugPopup','width=380,height=200');

Reproducible: Always

Steps to Reproduce:
1. use javascript
2. run this code window.open('http://www.google.com','bugPopup','width=380,height=200');

Actual Results:  
 window will show full screen 

Expected Results:  
show the true size

I use firebug test in this case
I use default theme but I use  personas change my background 
firefox sync
fox tab
print as pdf
read it later
tiny eye
Can' reproduce with: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13pre) Gecko/20101103 Namoroka/3.6.13pre

Do you see this problem if you start Firefox in -safe-mode?
Component: Developer Tools → Widget: Win32
Product: Firefox → Core
QA Contact: developer.tools → win32
Version: unspecified → 1.9.2 Branch
I test Firefox version 3.6.12. in normal mode and safe mode. It same result is wrong
I found same problem with window.open('http://kievhouse.ua/ ', 'name', 'width=744,height=720')
Same for my with w=1200 and h=600, this shows popup in full screen:

window.open('', '', 'width=1200,height=600')

But these others works correct:

window.open('', '', 'width=1201,height=600')
window.open('', '', 'width=1200,height=601')
window.open('', '', 'width=600,height=1200')

----------------------------------------------------------
Firefox 58.0.2 (64-bit)

Build identifier: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

about:buildconfig
Source

Built from https://hg.mozilla.org/releases/mozilla-release/rev/849c090094db5bd11ea9b546a5aef74e9deee35d
Build platform
target
x86_64-pc-linux-gnu
Build tools
Compiler 	Version 	Compiler flags
/usr/bin/gcc -std=gnu99 	5.4.0 	-Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe
/usr/bin/g++ -std=gnu++11 	5.4.0 	-Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer
Configure options

--host=x86_64-linux-gnu --enable-application=browser --enable-update-channel=release MOZILLA_OFFICIAL=1 --with-l10n-base=/build/firefox-9j9NY8/firefox-58.0.2+build1/./l10n --with-google-api-keyfile=/build/firefox-9j9NY8/firefox-58.0.2+build1/debian/ga MAKE=/usr/bin/make --enable-crashreporter --disable-elf-hack --disable-gconf --disable-install-strip --enable-official-branding --enable-startup-notification --disable-updater --prefix=/usr --with-distribution-id=com.ubuntu --with-ua-vendor=Ubuntu
Hey Xidorn, you're working on window sizing in another bug. Wondering if this is related.
Flags: needinfo?(xidorn+moz)
Priority: -- → P3
Version: 1.9.2 Branch → Trunk
Hmmm... I cannot reproduce the issue with any of the size pair mentioned in this bug, nor my own screen resolution.

Unless there is something I can reproduce, it is probably very hard to know what's going on here.
Flags: needinfo?(xidorn+moz)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.