Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.6.1
Description
We have updated our application to Qt 6.6.1, and we are seeing an issue, which we reproduced with a sample application as well (LidCloseIssue1.zip).
Reproduction steps:
Monitor 1 = Laptop's monitor
Monitor 2 = External monitor
Screens Setup:
Monitor 2 to the right of Monitor 1
Monitor 1:
1080p x 125%
Monitor 2:
3840 x 2160 x 300% - Main display
1. Connect an external monitor to a laptop
2. Set the external monitor (Monitor 2) as the main screen.
3. Launch the sample app
4. Switch the primary screen back to the laptop's monitor (Monitor 1) and immediately close the laptop lid before the process completes.
5. The application will show that Qt sees different resolution than what Windows API reports
Also : the text gets mis-aligned in the window :
When I move the window a bit (by drag and dropping the title bar), the text gets aligned correctly again :
Expected result :
Qt should see the same resolution as what the Windows API reports