Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.2.0
-
None
-
Dell notebook (precision series) with Windows 7
Description
The example attached can be used to reproduce the issue. Note! This has been tested on Windows 7 with two monitors, but it seems to reproduce only on Dell notebook with attached monitor
Primary steps:
1) Two displays connected, configuration "extend desktop"
2) The left display has been assigned "display number 2" by the windows 7 system.
(can be checked with "identify" button in screen resolution dialog)
3) The left display (the one with the assigned number 2 !) is the primary screen.
Steps to reproduce:
- compile the application with Qt 4.8.4 and run it
- move the application to the top right corner of the first monitor
- press 'save dialog' and close the application
- clean the application and compile it for Qt 5.2.0 and run it
- press 'load dialog'
Expected result:
The application window should "jump" to the position (and monitor) where the settings were stored
Actual result:
No matter on which display the Qt 4.8.2 application saves its geometry, the Qt 5.2 application will appear on the other display after loading the settings.
If "display 1" is the primary screen, everything works as expected.
Attachments
Issue Links
- relates to
-
QTBUG-33048 QDesktopWidget::primaryScreen() is always 0 and QGuiApplication::screens() always returns the primary one as first
- Closed
-
QTBUG-21371 QWidget::restoreGeometry doesn't restore correct screen number if application was in maximized or fullScreen state
- Closed