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

Multiple hides on threaded render loop when window is hidden

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes