Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.9.0
-
None
-
kubuntu 25.04
Description
When scrolling a ListView like below, the content will jump back when scrolling to the edge. see attached video
Window { width: 640 height: 480 visible: true ListView { anchors.fill: parent model: 50 delegate: Text { text: qsTr("Item %1").arg(index) } } }
Screencast_20250602_210347.webm
and if we print out the detail of the wheel event, we can find that the pixel delta for wheel event will occassionally become zero
pixelDelta: QPoint(0,-2) angleDelta: QPoint(0,-21)
pixelDelta: QPoint(0,-1) angleDelta: QPoint(0,-11)
pixelDelta: QPoint(0,-1) angleDelta: QPoint(0,-16)
pixelDelta: QPoint(0,-1) angleDelta: QPoint(0,-5)
pixelDelta: QPoint(0,-1) angleDelta: QPoint(0,-16)
pixelDelta: QPoint(0,-2) angleDelta: QPoint(0,-21)
pixelDelta: QPoint(0,0) angleDelta: QPoint(0,-11)
pixelDelta: QPoint(0,-3) angleDelta: QPoint(0,-26)
pixelDelta: QPoint(0,-1) angleDelta: QPoint(0,-16)
pixelDelta: QPoint(0,-1) angleDelta: QPoint(0,-11)
pixelDelta: QPoint(0,-2) angleDelta: QPoint(0,-26)
pixelDelta: QPoint(0,0) angleDelta: QPoint(0,-5)
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-137323 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
647905,7 | QQuickFlickable: fix jump back when scrolling to edge | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |