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

Wayland client race condition in applyConfigure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.1, 6.3.0 Alpha
    • 6.2
    • QPA: Wayland
    • None
    • Linux/Wayland
    • a0f5937868a97af7b6f97ffc9c0aed12d84cceb3 (qt/qtwayland/dev) ae1557f62926595d5127b99b8f52a0e2a81eb668 (qt/qtwayland/6.2)

    Description

      When windows are repeatedly shown and hidden, xdg_surface_configure() may be called again before QWaylandXdgSurface::applyConfigure(). This causes 

      ASSERT: "m_pendingConfigureSerial != 0" in file qtwayland/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp, line 351

       

      To reproduce: Run the example from QTBUG-87624 with the fix for that bug. Do this in a small compositor window so that the overlay window is always shown under the mouse. This will cause it to be repeatedly shown and hidden.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-96464
          # Subject Branch Project Status CR V

          Activity

            People

              tvete Paul Olav Tvete
              tvete Paul Olav Tvete
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes