Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.2, 5.12.4, 5.15.1
-
Dell XPS 15 9560
Microsoft Windows 10 Pro
-
-
1e1674849a89db54cdbcc4e995300e3ec1624c3a (qt/qtdeclarative/dev) f03615260cf6bba41393a700ca1cc58ce8742dba (qt/qtdeclarative/6.0)
Description
With the example code:
Flickable { anchors.fill: parent contentWidth: flow.width contentHeight: flow.height clip: true Flow { id: flow spacing: 10 width: 2500 Repeater { model: 2000 Rectangle { id: rectangleButton implicitWidth: 100 implicitHeight: 50 color: tapHandler.pressed ? "orange" : "grey" Text { anchors.centerIn: parent text: modelData } TapHandler { id: tapHandler gesturePolicy: TapHandler.ReleaseWithinBounds onTapped: console.debug("Tapped!") } } // Button { // id: normalButton // text: "%1".arg(modelData) // onClicked: console.debug("Clicked!") // } } } }
if you press on TapHandler and drag on touch screen (with mouse all works correctly) it happens that the flick is impossible. This does not happen always but quite often. The easiest way to get this error is by starting the drag by always pressing the same TapHandler.
An analogous code works if "rectangleButton" is commented out and "normalButton" code is active.
Attachments
Issue Links
- is duplicated by
-
QTBUG-86162 TapHandler blocks flicking
- Closed
For Gerrit Dashboard: QTBUG-75223 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
323884,2 | Allow parent to filter out-of-bounds synth-mouse for grabbing handler | 5.15 | qt/qtdeclarative | Status: DEFERRED | 0 | 0 |
323911,7 | Allow parent to filter out-of-bounds synth-mouse for grabbing handler | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
324329,2 | Allow parent to filter out-of-bounds synth-mouse for grabbing handler | 6.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
331979,3 | Allow parent to filter out-of-bounds synth-mouse for grabbing handler | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |