Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.1, 6.4.2
-
None
-
iPhone 11, iPad Pro, iOS15, iOS16
Description
MouseArea propagates every second event to bottom TapHandler with iOS with Qt 6.4.1!
These were no issue in Qt 6.2.4 and also on Android with Qt 6.4.1.
Example:
TapHandler
{ id: tapHandler acceptedButtons: Qt.AllButtons onPressedChanged:
{ console.log("TAP PRESSED"); }onTapped: { console.log("TAP TAPPED"); }
}
MouseArea
{ id: museArea anchors.fill: parent acceptedButtons: Qt.AllButtons preventStealing: true onPressed: (event) =>
{ event.accepted = true; console.log("BUTTON PRESSED"); }onClicked: (event) => { event.accepted = true; console.log("BUTTON CLICKED"); }
onDoubleClicked: (event) => { event.accepted = true; console.log("BUTTON DB CLICKED"); }
}
What have You changed from Qt 6.2.4 to Qt 6.4.1 ?
ADDED:
I have added simple example where is 2 rectangles (red in background with TapHandler and blue in foreground with MouseArea).
If You tap with Your finger on the iPhone iOS on overlapping area of these 2 rectangles several times, You will get: first time event in rec2->mouseArea and second time in rec1->tapHandler.