Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.7.4
-
None
Description
Run the code below. Drag or flick the list an note how "Movement started" and "Movement ended" is printed as expected.
Now click on an item and note how the list moves without onMovementStarted/onMovementEnded being signaled.
import QtQuick 1.1 Rectangle { width: 360 height: 480 ListView { anchors.fill: parent model: 200 preferredHighlightBegin: 20 preferredHighlightEnd: 20 highlightRangeMode: ListView.StrictlyEnforceRange delegate: Rectangle { color: index % 2 ? "gray" : "lightgray" width: 360 height: 40 MouseArea { anchors.fill: parent onClicked: parent.ListView.view.currentIndex = index } } onMovementStarted: print("Movement started") onMovementEnded: print("Movement ended") } }
Attachments
Issue Links
- relates to
-
QTBUG-20401 Qml Flickable does not report moving state for keyboard navigation interactions
-
- Closed
-