- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.1.0 Beta 1
- 
    None
- 
    Samsung Galaxy S2
When holding my finger down on a MouseArea on my S2, the press is "cancelled" after a second. If I touch the MouseArea and then drag my finger away from the initial position, the press is not cancelled as expected.
import QtQuick 2.0 Rectangle { width: 480 height: 300 property int value: 0 Behavior on value { NumberAnimation { duration: 1000 } } Text { id: valueText text: value font.pixelSize: 50 } Rectangle { id: rect anchors.bottom: parent.bottom width: parent.width height: parent.height / 2 color: mouseArea.pressed ? "darkgrey" : "grey" Text { anchors.centerIn: parent text: "Click me" font.pixelSize: 50 } MouseArea { id: mouseArea onPressed: value = 100 onReleased: value = 0 anchors.fill: parent } } }
See the attached video.
- depends on
- 
                    QTBUG-31644 Android: longPress handling breaks mouse events -         
- Closed
 
-         
- relates to
- 
                    QTBUG-84179 Decide what to do about long-press events and maybe right-click emulation in Qt 6 -         
- Reported
 
-