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

Window containing native windows window is excessively repainted on move

    XMLWordPrintable

Details

    • Windows
    • 9a64449cc (dev), 5d292c448 (6.6), 8d7826442 (6.5), fdff3b64b (tqtc/lts-6.5)

    Description

      If a toplevel window has its position moved, the entire contents of the window are now repainted. This causes excessive flicker especially in the case of an embedded native window.

      This was caused by a fix for QTBUG-97774 , which ironically was reporting flickering, although that was during resize. It seems like the fix for that bug needs to be constrained specifically to resizing, and not just window position changes.

      The offending commit is: [https://code.qt.io/cgit/qt/qtbase.git/commit/?id=000f1ee3604048f693f2a9425948a37ec45b4301|000f1ee360]

      Attached is a simple reproducer application: QtWidgetFlickerTest.7z

      And a small video showing the issue: Qt5_vs_Qt6_EmbeddedWindowFlickering.mp4

      Attachments

        Issue Links

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

          Activity

            People

              timothee.keller Timothée Keller (Inactive)
              kkyzivat Keith Kyzivat
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes