Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.14, 5.15
-
None
Description
If you change DPI from 100% to 300% (for example) or vice versa, the widgets in a window will be in wrong position, but that's because the window is not repainted in time, they are in the correct position actually.
It's easy to reproduce, just change the DPI several times, try 100% to 300% (or vice versa), not 100% to 125%
I have read QPA's source code, it's not enough to call SetWindowPos only in WM_DPICHANGED. After changing the window size, a relayout is needed.
Attachments
Issue Links
- relates to
-
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