Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
5.12.4, 5.13.0
-
Windows 10 (Build 17763)
-
-
d10c34b0cc896c711fce8ae5629e3cc3d74b6452 (qt/qtbase/5.15.2)
Description
I have a laptop with 15" 4k screen (pixel ratio is 3) and external Full HD 23" display (pixel ratio is 1). I configured the Display Settings of the OS to use only external display when it is connected and to use 250% scaling for the 4k display.
So, if I launch an application and then connect or disconnect the external display, all applications get moved to a screen with different DPI. This results in wrong sizes for some widgets in fonts. I see from logs, that application uses dpiawareness = 2 which is default.
I compiled the Validator example from the Qt distribution. I attached screenshots for application started at low DPI and at high DPI screen and what application looks like after move to high and low DPI screen (by connecting/disconnecting the external display).
Steps to reproduce:
- Connect HIgh DPI Monitor to Laptop
- In display settings, toggle Mode from "Show only on1"/"Show only on2"
Attachments
Issue Links
- relates to
-
QTBUG-76510 [REG: 5.12.3 -> 5.12.4]: Changing scale factor while an application is running does not seem to be working correctly
- Closed
-
QTBUG-77136 When the DPI is changed on Windows to be one higher and a label has an alignment in a layout it is not updated correctly
- Closed
-
QTBUG-77144 Changing Windows DPI ("Make Everything Bigger") while QtWidgets app is running scales some elements but not others
- Closed