Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.0
-
None
-
-
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).