Incorrect scaling of dialogs when using a HiDPI monitor and a standard monitor on Windows
Categories
(Core :: Widget: Win32, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | affected |
People
(Reporter: tsmith, Unassigned)
Details
(Keywords: dpi, multi-monitors, Whiteboard: tpi:+, widget-next)
Attachments
(5 files)
On my current setup I have two monitors a 27" 4K (3840x2160) monitor and a 24" (1920x1200) and I am running Windows 10 (1607) The 4K monitor is scaled to 175% (otherwise everything would be tiny) and the standard monitor is at 100%. When the browser is on the standard display some dialogs are scaled incorrectly (see attached images)
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
I've got the same problem; it's always worked fine up until now so this appears to be a regression introduced with the most recent 52.0b3 update.
Comment 4•7 years ago
|
||
Hi Tyson, please check out bug 1239347. I'm curious, is what you're experiencing the same as described there?
Reporter | ||
Comment 5•7 years ago
|
||
(In reply to Tracy Walker [:tracy] from comment #4) > Hi Tyson, please check out bug 1239347. I'm curious, is what you're > experiencing the same as described there? No that seems to be slightly different. I think.
Updated•7 years ago
|
Version : 59.0.2 (X64) OS : Windows 10 (1709 build) Main screen : laptop 17" 3840x2160 - 175% scale Second screen : HD monitor 23" 1920x1080 - 100% scale Same problem with version 59.0.2 (X64) I have a laptop with 4K screen configured to 175% scale and a standard HD monitor configured to 100% scale. Firefox on the 4K screen is good, but if I put it in the second monitor, the scale is not ok : too too big to be used. Chrome, Opera, Maxthon or Edge can resize the UI with the new DPI settings on the second monitor, but not Firefox. An extension made the job but only for version prior than V57 : https://github.com/ertug/autohidpi Thank you...
Updated•5 years ago
|
Comment 9•3 years ago
•
|
||
I can reproduce this issue on my machine on Fx 86.0a1(2021-01-22) , win 10x64 with 2x external displays: a 4K (3840x2160) - scale 175% and a 1920x1080 - scale 100%.
Comment 10•3 years ago
|
||
Two issues here -
- rescaling issues when dragging between two monitors scaled differently
- a few Firefox dialogs scaled incorrectly on one of the monitors with mixed scaling
Updated•3 years ago
|
Comment 11•3 years ago
|
||
- issue with propagating scale changes down to content. widget, ipc, content process
- issues with windows that are split between two screens
- start investigating on Windows
- code exists to handle this, but there may be bugs
Matt, could you take a look?
Comment 12•3 years ago
|
||
We try to handle WM_DPICHANGED here:
https://searchfox.org/mozilla-central/rev/927e525f481a93a8f63d27a78ae6201e42b1b1fb/widget/windows/nsWindow.cpp#6181
Perhaps something is going wrong.
Comment 13•3 years ago
•
|
||
FWIW, I was not able to reproduce this issue using two monitors with 150% scaling (primary) and 100% scaling. I tested with file open, file save, the about dialog, and various right-click context menus. Moving firefox (completely) from one monitor to the other resulted in UI that appeared to be scaled correctly.
Updated•3 years ago
|
Comment 14•3 years ago
|
||
(In reply to Raluca from comment #9)
I can reproduce this issue on my machine on Fx 86.0a1(2021-01-22) , win 10x64 with 2x external displays: a 4K (3840x2160) - scale 175% and a 1920x1080 - scale 100%.
Which behaviour did you reproduce, and what were the STR for that? Thanks!
Updated•3 years ago
|
Comment 15•3 years ago
|
||
- rescaling issues when dragging between two monitors scaled differently. Please see the following video:
https://imgur.com/a/XYXwSYC - a few Firefox dialogs scaled incorrectly on one of the monitors with mixed scaling. Please see the 2 screenshots attached:
- 4k monitor 3840x2160 scale 175% : https://imgur.com/a/Bh8X5dT
- Standard 1920x1080 scale 100%: https://imgur.com/a/taFItkM
Updated•3 years ago
|
Updated•2 years ago
|
Description
•