Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.6.1, 5.9.1
-
None
-
Linux, Dual monitors setup:
{code:java}
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
1366x768 60.02*+
1360x768 59.80 59.96
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 476mm x 268mm
1920x1080 60.00*+
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.89
1280x960 60.00
1280x720 60.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
{code}Linux, Dual monitors setup: {code:java} Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192 LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm 1366x768 60.02*+ 1360x768 59.80 59.96 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 VGA1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 476mm x 268mm 1920x1080 60.00*+ 1680x1050 59.95 1280x1024 75.02 60.02 1440x900 59.89 1280x960 60.00 1280x720 60.00 1024x768 75.03 70.07 60.00 832x624 74.55 800x600 72.19 75.00 60.32 56.25 640x480 75.00 72.81 66.67 59.94 720x400 70.08 {code}
Description
Example code:
QList<QScreen*> screens = qApp->screens(); for ( const QScreen *screen : screens) { qDebug() << screen->geometry(); }
Output:
QRect(0,0 1093x614)
QRect(1366,0 1536x864)
Expected:
QRect(0,0 1093x614)
QRect(1093,0 1536x864)
Attachments
Issue Links
- relates to
-
QTBUG-56555 Need clarification of QScreen::geometry() for High DPI screens
- Reported