Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66557

Windows/Desktop GL app fails to redraw when Windows 10 screen woken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Out of scope
    • Affects Version/s: 5.9
    • Fix Version/s: None
    • Component/s: GUI: OpenGL
    • Environment:
      Windows 10, Desktop GL, see attached system.nfo file
    • Commits:
      SetHasBorderInFullScreen: 43918feb4adbcd2e7035b5985309eefe2e2f28c6 (qtbase/5.11, 14.3.2018, 5.11)

      Description

      We are seeing rendering-related issues with our Qt Quick 5.9 app running full-screen on Windows 10.

      1. After Windows turns the device's display off to save power, pressing a key to re-wake the device reveals a stale image of the app (or an image of the desktop).  The image is frozen, it seems the app is interacting correctly when clicked on, but the image doesn't update.  Pressing the Windows key makes the screen update again.
      2. Similarly, pressing the Print Screen key captures old out of date images of the app.
      3. Going to and from Task View (smaller representation of running apps, tiled across the desktop) shows similar stale renderings.

      These things only happen when running full-screen, if the app is windowed, it's all fine.

      I can reproduce this with the Qt Quick Example "Windows and Screen".  I run it and tick Full Screen on the Control Window.  I see a full screen Second Window.  Now I wait for the screen to turn off (I've configured it in Windows to only wait 1 minute).  Wait a few seconds more, then press any key.  The screen turns on again.  But now I'm seeing the Control Window again.  It and everything behind it are frozen, I'm clearly interacting with the Second Window, but that's not being drawn.  If I go to Task View (swipe-in-from-left) a "Control window" thumbnail is shown, along with one called "Test Window with color..." but the latter's thumbnail is not shown.
      None of this happens if I instead check Maximized on the Control Window.

        Attachments

        1. qtbug66557.zip
          7 kB
        2. qtdiag.txt
          11 kB
        3. system.nfo
          1.81 MB
        4. taskview.png
          taskview.png
          546 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              w00t Robin Burchell
              Reporter:
              kiwimew Mark Wilson
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes