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

[REG 5.15.2 -> 6.0.0] OpenGL backend flickers during window resize on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • 6.2.3, 6.3
    • 6.0.0
    • Qt RHI
    • None
    • MacBookPro16,2 (2020 13-inch MacBook Pro)
      Intel Core i7 1068NG7 (Ice Lake)
      Intel Iris Plus Graphics
      macOS Big Sur 11.1
    • macOS

    Description

      When I set `QSG_RHI_BACKEND=opengl` and run a Qt Quick app built with Qt 6.0.0 on macOS 11.1, it exhibits flickering when resizing the window. The flickering appears to be worse if the window is resized more slowly.

      To reproduce, you can use any Qt Quick Controls application. I used the "Qt Quick Controls - Gallery" application.

      1. Open the "Qt Quick Controls - Gallery" example application
      2. Add `qputenv("QSG_RHI_BACKEND", "opengl");` to the top of main() in gallery.cpp.
      3. Run the application
      4. Resize the window by dragging slowly from one of the edges. The slower you drag, the more it seems to flicker.

      Expected result:
      Window contents scale gracefully without any rendering artifacts

      Actual result:
      Window contents flicker as the window is resized

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              cgutman Cameron Gutman
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes