Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.0
-
None
-
-
73094e598f (qt/tqtc-qtdeclarative/6.2)
Description
With the following simple MouseArea example:
import QtQuick Window { width: 640 height: 480 visible: true title: qsTr("Hello World") MouseArea{ anchors.fill: parent onClicked: (mouse) => { console.log("onClicked") } onPressed: (mouse) => { console.log("onPressed"); } onPressAndHold: (mouse) => { console.log("onPressAndHold") } onReleased: (mouse) => { console.log("onReleased"); } onPositionChanged: (mouse) => { console.log("onPositionChanged"); } } }
When
- Touch first finger
- Touch and release second finger
- Release first finger
...and there will be no 'release' event.
Output is only:
D qml : : onPressed D qml : : onPositionChanged D qml : : onPositionChanged D qml : : onPositionChanged D qml : : onPositionChanged
But when releasing left first (while holding down the second) it works.
Attachments
Issue Links
- duplicates
-
QTBUG-102996 QML MouseArea containsPress / containsMouse / pressed are stuck when using multitouch
- Closed
- relates to
-
QTBUG-100575 Mouse release event not sent in Wayland compositor
- Reported