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

Pane only stops some input events from propagating

    XMLWordPrintable

Details

    • All
    • 2f5e24bdc (dev), 1991adfbb (6.6), a00b41935 (6.5)

    Description

      Since this change https://codereview.qt-project.org/c/qt/qtdeclarative/+/409850, items in the background of a Pane don’t receive touch events properly anymore.

      If you, for example, want to put a MapView in the background of a page to extend behind the status bar of a phone (see screenshot & attached example), pinch & zoom is broken.

      An even simpler example would be this:

       Pane {
          anchors.fill:parent
          background: MouseArea {
            //onClicked not triggered when MouseArea is in the background of a Pane. Works when changing the "Pane" to a "Control"
            onClicked: console.log("MouseArea clicked")
          }
      }

      As far as I understand, https://codereview.qt-project.org/c/qt/qtdeclarative/+/409850 intended to stop touch events from being propagated to items behind a Pane, but it should not block touch events for items in the background of a Pane - especially since not all events are blocked (move & scroll events still work).

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            p.heimann Paul Heimann
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes