window.screen reports invalid screensize on scaled screens on OS-X
Categories
(Core :: Widget: Cocoa, defect, P3)
Tracking
()
People
(Reporter: tom.schindl, Assigned: jaas)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
I have a 3 screen setup:
- MacBook Pro Retina Display - 1512x982 (default scale)
- Large 2nd screen (main screen) - 3008x1692 (scaled)
- Smaller 3rd screen - 1080x1920 (default scale - rotated by 90°)
and place the browser window on the right side of the main-screen.
Actual results:
If I position Firefox on the main screen on the right handside window.screen reports invalid sizes: 540x960 (see attached screenshot ff-wrong). If I move the window to the left of the screen the size is reported correctly 3008x1692 (see attached screenshot ff-correct).
As one can see the invalid size is half of the 3rd screen I think the browser thinks the window is on the 3rd screen.
Expected results:
The browser needs to report the correct size
| Reporter | ||
Comment 1•3 years ago
|
||
| Reporter | ||
Comment 2•3 years ago
|
||
Comment 3•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•3 years ago
|
This was fixed in bug 1525379. I can reproduce this in a build without that fix, I can't reproduce it in a build with the fix.
Description
•