Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
None
-
I5ce340ca591ec924eebed1fe7acda18d31301fc5
Description
MouseArea drag.threashold is not considered when preventStealing is true.
The following snippet shows the problem.
import QtQuick 2.6 import QtQuick.Controls 1.4 ApplicationWindow { id: root visible: true width: 400 height: 400 MouseArea { id: mousearea anchors.fill: parent drag.target: rectangle drag.threshold: 100 propagateComposedEvents: true preventStealing: true } Rectangle { id: rectangle color: "red" width: 30 height: width } }
Is it a correct behaviour?
Attachments
For Gerrit Dashboard: QTBUG-52534 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
155694,7 | Fixed MouseArea threshold with preventStealing | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
156376,2 | Revert "Fixed MouseArea threshold with preventStealing" | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
161330,3 | Revert removal of "Fixed MouseArea threshold with preventStealing" | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |