Pop-up windows only fill 1/4th of the window with content
Categories
(Core :: Widget: Cocoa, defect, P2)
Tracking
()
People
(Reporter: steven.abarnett, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
Whenever I enter the following into my console (and allow pop-ups on whatever page I'm accessing) I witness the issue:
window.open("https://vcloud.blueframetech.com/broadcast/embed/124245?w=640&autoplay=1", null, "width=640,height=360")
I have tried clearing my cache, updating Firefox, re-installing Firefox, disabling all add-ons, and every other step I could think of. The issue is very consistent.
Actual results:
See image attached. The content of the window that pops up only occupies 1/4th of the window
Even stranger, when I right-click somewhere in the top-left region the context menu opens up away from the mouse, in a positive relative to where I was in the top-left region (e.g. if I click in the dead center of the top-left region, the content menu appears in the dead center of the window at the bottom-right corner of the top-left region)
Firefox-generated UI elements (such as the height and width display from the inspector) are shrunken down to fit into this area, and text or other images are shrunken as well
If I move the window to another monitor, the issue resolves itself
Expected results:
The content on this page has html and body styled with width: 100%. In all browsers except Firefox the content fills the page appropriately.
Comment 1•6 years ago
|
||
I didn't managed to reproduce this issue on macOS 10.14 using the latest Nightly (v68.0a1) and the current Release version (v66.0.5).
Could you please provide more information related to the steps to reproduce?
Reporter | ||
Comment 2•6 years ago
|
||
I'll continue to try and find the proper repro steps. I turned my laptop on this morning and entered the "window.open" script into my console and the issue occurred exactly as described. I then disabled all of my extensions and the issue still occurred. I then cleared my cache and the issue still occurred. I then went into a private browsing window, cleared my cache again, and this time the issue did not occur. I then enabled each of my extensions one at a time and tested each time, but the issue did not re-occur. I then left the private browsing tab and the issue did not re-occur.
I now can't reproduce the issue, even though I reproduced it multiple times just 20 minutes ago. Somehow clearing my cache from a private browsing window seems to have corrected the state my browser was in. I'll update if I figure out a way to get back into that state.
Reporter | ||
Comment 3•6 years ago
|
||
After a bit more experimentation I believe I've discovered the cause.
I have two monitors. One is a retina display (the main monitor on my Macbook) and the other is not (just a 1080p LG monitor). Normally I have my browser open on the LG monitor, since it's larger, however pop-ups open on the retina display since it's my primary display. When I opened the private browsing window, it opened on the retina display and I left it there.
If a browser on the non-retina display launches a pop-up on the retina display, the contents of the window will only occupy 1/4th of the window.
If a browser on the non-retina display launches a pop-up on the non-retina display, there are no issues (this is what normally happens when I click on a link, however using the JavaScript "window.open" method opens on the primary display)
If a browser on the retina display launches a pop-up on the retina display, there are no issues (this is what was occurring after I opened the private browsing tab)
If a browser on the retina display launches a pop-up on the non-retina display, only the top-left quarter of the page is visible and fills the screen. The other 3/4ths of the page extend off the window and there are no scroll bars (will attach an image. In order to achieve this, I had to go into System Preferences and change my primary display to the non-retina)
It seems like the Firefox rendering engine has an "isRetinaDisplay" flag and the flag is not properly being set when a browser on one monitor opens a pop-up on the other
Reporter | ||
Comment 4•6 years ago
|
||
Comment 5•5 years ago
|
||
Build ID 20190808214929
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0
Thank you for the information.
We've managed to reproduce this issue using the following STR:
- Open Firefox on the secondary monitor with FullHD display.
- Go to Web Console and paste this link:
window.open("https://vcloud.blueframetech.com/broadcast/embed/124245?w=640&autoplay=1", null, "width=640,height=360") - Notice the pop-up window on the Retina display. (this is the main display)
ER:
The content of the pop-up window is displayed on the entire window
AR:
The content of the pop-up window is displayed only on 1/4 of the window.
The issue is also reproducible using the following STR:
- In order to reproduce this issue the FullHD display needs to be set as the primary monitor.
- Open Firefox on the secondary monitor with Retina display.
- Go to Web Console and paste this link:
window.open("https://vcloud.blueframetech.com/broadcast/embed/124245?w=640&autoplay=1", null, "width=640,height=360") - Notice the pop-up window on the FullHD display. (this is the main display)
ER:
The content of the pop-up window is displayed scaled inside the window
AR:
Only 1/4 of the content of the pop-up window is displayed on the window.
Set the component for this issue.
Updated•5 years ago
|
Updated•2 years ago
|
Description
•