window wrong size after sleep on external monitor
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: berend, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
Steps to reproduce:
- boot linux
- login (wayland, didn't try x11)
- add external monitor (needs to be different res / dpi / aspect than internal monitor)
- start firefox
- open a new window (i think at least two windows need to be open)
- suspend
- unplug external monitor
- wake up
Actual results:
Some Firefox windows are zoomed out (including the menus) -- but not all windows.
The windows that are zoomed display the content in ± 75% of the window, with the remaining ± 25% being transparent. The entire window is, including menus and fonts, is shrunk.
To fix it, add external monitor, move zoomed window to external monitor, maximize, move back to internal monitor (without un-maximizing)
Expected results:
All Firefox windows to use 100% of their allocated window size. Fonts, images, etc. to be the correct dpi.
I first noticed this in Firefox 137. It also happens in 138.
I think it only happens when you have more than one window -- the first window is correct.
I think this only happens if the HiDPI scale is different on the two monitors.
Re-plugging the external monitor and moving the windows is insufficient to fix it: they need to be maximized, then moved backwards and forwards.
It looks very similar to bug #1005972. I opened this one, because that bug has a number of MacOS-specific reports.
Reporter | ||
Comment 1•23 days ago
|
||
I'm going to guess only one window receives a change-dpi event.
Comment 2•23 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•