Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.7.0
Description
To reproduce, run attached example, press and hold until the text "held" comes up, then move mouse/finger outside of the button are and release.
import QtQuick import QtQuick.Controls Window { id: window width: 640 height: 480 visible: true Text{ id: text1 anchors.horizontalCenter: parent.horizontalCenter text: "Unheld" font.pixelSize: 30 } Button{ id: button1 onPressAndHold: text1.text="held" onReleased: text1.text="unheld" anchors.centerIn: parent width: 100 height: 100 } }