Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0, 5.9.1
-
None
-
Windows
-
3df387d634
Description
Pressing inside the PathView and releasing mouse outside of it causes the PathView to spin (same behavior with touch).
import QtQuick 2.6 import QtQuick.Window 2.0 Window { id: root width: 500 height: 500 visible: true property int visibleItemCount: 5 property int delegateHeight: 40 PathView { id: columnPathView width: 40 height: 200 anchors.centerIn: parent clip: true pathItemCount: visibleItemCount + 1 preferredHighlightBegin: 0.5 preferredHighlightEnd: 0.5 dragMargin: width / 2 path: Path { startX: columnPathView.width / 2 startY: -delegateHeight / 2 PathLine { x: columnPathView.width / 2 y: columnPathView.pathItemCount * delegateHeight - delegateHeight / 2 } } model: 10 delegate: Rectangle { border.color: "black" implicitWidth: columnPathView.width implicitHeight: delegateHeight } } }
This problem can be seen in both the Qt Quick Extras and Qt Quick Controls 2.0 Tumbler.
Attachments
Issue Links
- relates to
-
QTBUG-77173 Incorrect behavior of PathView
- Closed
-
QTBUG-115237 Dragging PathView beyond the end of the path and releasing outside of it starts a flick
- Closed
- resulted in
-
QTBUG-78471 extras::Tests_Tumbler::test_resizeAfterFlicking() failed
- Closed
For Gerrit Dashboard: QTBUG-59052 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
273449,4 | PathView: reduce velocity by linear decay model if release is delayed | 5.14 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
274308,3 | PathView: reduce velocity by linear decay model if release is delayed | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |