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

Qt5 Application Freezes if left for some time and if windows color depth is 16bit

    XMLWordPrintable

Details

    Description

      Qt5 desktop applications (With QMainWindow and some QDialogs) seem to freeze after they've been on for a while (5-10 minutes). It usually happens when the application is on and left for some time and after a while you see it is frozen Or Application does not respond well and displays warning on console. "QWindowsBackingStore::flush: BitBlt failed (The handle is invalid.)"

      To reproduce this use attached example and follow below steps:
      click right mouse button on WIndows desktop, select Screen resolution, and then Advanced settings. Go to Monitor tab and set 16-bit to color depth and press OK.

      Then run the application and wait for it to initialize properly (it outputs some testing in the console window). Then press CTRL-ALT-DEL, and then Esc to go back to desktop. You will see the error message in the console window:

      Attachments

        1. main.cpp
          1 kB
        2. qtbug29716_diag_4.patch
          0.8 kB
        3. qtbug29716.tar
          10 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              qtcomsupport Qt Support
              Votes:
              9 Vote for this issue
              Watchers:
              31 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes