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

QQuickWindow: Consider z-order of children when delivering pointer events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.7, 5.15
    • Fix Version/s: 6.0.0 Alpha
    • Component/s: Quick: Other
    • Labels:
      None
    • Platform/s:
      webOS
    • Commits:
      3ff11ceca37dcc4b6f0420332fa7f6aa007be7f3 (qt/qtdeclarative/dev)

      Description

      When creating a target item list for handling pointer events, put children after the parent item if they have negative z-order value. This fixes an issue where an item does not receive a pointer event if there is a child item that accepts the event even when that child item is shown under the parent item as per the stacking order.

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/288660

        Attachments

        1. tapHandlerParented.qml
          0.5 kB
        2. mouseAreaParented.qml
          0.7 kB
        3. buttonsParented.qml
          0.4 kB

          Issue Links

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              hollis Hollis Kim (Inactive)
              PM Owner:
              Pasi Keränen Pasi Keränen
              RnD Owner:
              Volker Hilsheimer Volker Hilsheimer
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: