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

Big flickering on frameless Window resizing (regression on OSX)

    XMLWordPrintable

Details

    • macOS

    Description

      See attached sample.
      Run it. Resize the window from any border (make the window big enough). Observe the extreme flickering, caused by the window being transparent a short time at each resizing event... amateurish feeling
      This problem is caused by this change: https://codereview.qt-project.org/#/c/108362
      Revert this change (remove the 2 lines) and the problem is completely solved.

      I use a QDockWidget for the sake of simplicity, to be able to resize the window easily. But this is not a QDockWidget problem and the same happens with any frameless widget (eg. menu)

      Related story https://bugreports.qt.io/browse/QTBUG-47354

      I did not try 5.6, but the code is the same, hence I guess 5.6 is also affected.

      Attachments

        1. main.cpp
          0.4 kB
          user-04d21

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              jirauser26727 user-04d21 (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes