Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0 Beta 1
-
None
-
Windows 7-32 bit, MinGW47_32, Qt 5.1.0 Beta 1
Linux 64-bit; any Qt up to and including 5.1.0 and current dev branch
-
8078a04e1950d1e9957c3b3c3ea8e6e0c3d34b80 ( b94fe52f85056ec7c597458aa5e2884de06f4a1b )
Description
Create a 2-window application. We want to display each window full screen on each monitor (assume 2 monitors is available)
// Get a list of the available screens
QList<QScreen*>screenList = app.screens();
Window 1 has the following code to set it to display on screen 0
window1.setScreen(screenList.at(0));
Window 2 has the following code to set it to display on screen 1
window2.setScreen(screenList.at(1));
Each window is shown using the "showFullScreen()" command.
This works fine with Qt 5.0.2 but since Qt5.1.0 beta 1, the setScreen function has no effect, with each window displaying on screen 0 only.
Switching Kits between Qt 5.0.2 and Qt 5.1.0 beta1 confirms the behaviour is only present in Qt 5.1.0 beta 1.
Attachments
Issue Links
- is required for
-
QTBUG-39695 deal better with dynamic screen adding/removal, including the "no screen" case
- Closed
-
QTBUG-31105 Qt 5.1 RC1 release tasks
- Closed
- relates to
-
QTBUG-30724 showFullcreen on multi monitor systems always shows the window fullscreen on the primary monitor.
- Closed
-
QTBUG-33138 should QWindow.setScreen() always work?
- Closed
-
QTBUG-37881 emit ScreenChanged on Windows when moving a window to a different screen
- Closed
-
QTBUG-36659 Windows QPA should emit WindowScreenChangedEvent when appropriate
- Closed