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

Incorrect mapping of sub-surfaces

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.0
    • Fix Version/s: None
    • Component/s: QPA: Wayland
    • Labels:
      None

      Description

      When Qt creates a sub-surface window tree it creates multiple "dummy" surfaces which don't get a buffer attached. Only the last child has a mapped surface.

      According to the Wayland spec this means that the sub-surface is not mapped. To quote:
      "A sub-surface becomes mapped, when a non-NULL wl_buffer is applied and the parent surface is mapped."

      And
      "A sub-surface is hidden if the parent becomes hidden, or if a NULL wl_buffer is applied. These rules apply recursively through the tree of surfaces."

      Please see the attached log from using systemsettings and the attached screenshot of how the tree of subsurfaces looks in this case.

      The wl_surface 102 is a child to wl_surface 70, but wl_surface 70 never gets rendered.

        Attachments

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

          Activity

            People

            • Assignee:
              tvete Paul Olav Tvete
              Reporter:
              mgraesslin Martin Gräßlin
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes