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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0.0 Alpha
    • 5.12.7, 5.15
    • Quick: Other
    • None
    • webOS
    • 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. buttonsParented.qml
          0.4 kB
        2. mouseAreaParented.qml
          0.7 kB
        3. tapHandlerParented.qml
          0.5 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: