Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.12.5, 5.13.1
-
Fix Version/s: 5.12.6, 5.13.2, 5.14.0 Beta 1
-
Component/s: Quick: Core Declarative QML
-
Labels:
-
Platform/s:
-
Commits:44c51303b6968a4c8c5cf80fa92618852d017fd0 26e99aeacdb2527e6b439d8244a774cd719d732a (qt/qtdeclarative/5.13)
Description
Run the following example:
import QtQuick 2.13 import QtQuick.Controls 2.13 ApplicationWindow { width: 800 height: 600 visible: true Tumbler { id: tumbler anchors.centerIn: parent visibleItemCount: 10 implicitHeight: 400 implicitWidth: 60 spacing: 0 model: 124 delegate: Label { text: qsTr("%1").arg(modelData) horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } onMovingChanged: console.log("Moving changed. "+tumbler.moving) } }
Flick the Tumbler with a mouse and wait till it stops. The logs are the following:
qml: Moving changed. true qml: Moving changed. false
Flick the Tumbler with a mouse and then stop it with the mouse. The logs are the following:
qml: Moving changed. true
and the expected result would be:
qml: Moving changed. true qml: Moving changed. false
The moving property is not updated properly when the flick is stopped by a mouse.
Attachments
Issue Links
- duplicates
-
QTBUG-77173 Incorrect behavior of PathView
-
- Closed
-