Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.6.0 RC
-
None
-
Windows 10 x64, 2 monitors @ 3840 × 2160 with 200% DPI setting in both monitors.
Qt 5.6.0-rc official build for VS 2013 x64
Description
When Auto Scaling is enabled Window item reports wrong x and y position when the window is not in the primary monitor in a multi monitor setup with high DPI setting of 200% or more.
1) Using two monitors with the same 4k resolution and 200% dpi
2) Enable auto scaling (QT_AUTO_SCREEN_SCALE_FACTOR=1 can be used)
3) Run attached example and start moving the window from the primary monitor towards a second monitor; you'll notice:
- While in the primary monitor. Window.x and Window.y report logical pixels values
- When around half the window gets into the non-primary monitor Window.x and Window.y jumps to physical pixels values
This was working in Qt 5.5
Attachments
Issue Links
- is duplicated by
-
QTBUG-84206 QScreen size() returns incorrect offset for second monitor
- Open