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

Multiple hides on threaded render loop when window is hidden

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.1
    • Quick: SceneGraph
    • None
    • All

      When a QQuickWindow is hidden, we will end up calling invalidateGraphics() twice on the scenegraph.

      The second time this happens, we will call makeCurrent() on the context which may at this point be for a non-existent surface. Typically, it will just leads to the makeCurrent() returning false, but as seen on Wayland (see QTBUG-88277) it is possible that the makeCurrent() succeeds if the driver supports the surfaceless context extension.

      The issue on Wayland has been successfully worked around by detecting the case, but the core issue is that we are doing a redundant invalidateGraphics() on an already-hidden window.

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes