Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.0.2, 6.2.3, 6.2.4, 6.3.0
-
None
-
OS: Windows 10 Pro, version 20H2
HW: Surface Pro 6 commercial Model 1796 i7, Intel UHD Graphics 620
Description
Issue
The screen content is offset left/up when the computer wakes up from power save mode, and occasionally when the screen resolution changes (e.g. when connecting to an external monitor). Before the screen content takes its final form, it typically flickers between offset and correct position a few times.
Screen content offset:
Screen content as it should look:
To reproduce
With the "Coffee machine example" (from examples in Qt Creator) running, put the computer to low power mode using the power button. Wait a few seconds. Wake up from low power mode. Note that the screen content is offset, and an edge of maybe 20 px on the right and 50 at the bottom of the window is filled with content from e.g. the desktop of other application behind the Qt application window.
Alternative, wait until windows switches off the screen according to the power plan. Resume from "screen off" by pressing any key on the keyboard or pressing the power button. Observe the same behavior as described above.
Hardware dependency
On certain hardware, such as a Microsoft surface Pro 6, the issue reproduces 100 % of the times. On other hardware, such as Lenovo ThinkPad P15V, it can be seen occasionally, most frequently when being connected to an external monitor.
Qt version dependency
Tested with most Qt 6.x.x major version - all fail. Tested to work correctly with Qt 5.15.2
Workarounds
With QT_QUICK_BACKEND set to "software", the screen content is shown correctly after wake up.