Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.1, 5.2.0 Alpha
-
None
-
Windows 7
-
Windows/multimonitor (for 5.2 RC) : a3d72efc650db6b0663e11e3448b77ba93a0a925
Description
When a dialog is shown with no parent then it ends up on the primary monitor regardless of where the cursor is. In the example attached, move the first window to the secondary monitor, click on it then the first dialog shows fine (which is parented to the mainwindow), click on OK and the next dialog will end up on the primary monitor.
In another example, if you show a QMessageBox which has a parent then it will end up appearing at a different place each time instead of where it is expected to be.
Attachments
Issue Links
- relates to
-
QTBUG-40460 QWindow::screen might return wrong value on Windows
- Open