Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.4.1, 5.5.0
-
None
Description
Scenario:
We used the list view in a keyboard-only environment and wanted the currentItem to stay in the same place on the screen.
So, we created a listview with the following configuration:
highlightMoveVelocity: -1 highlightMoveDuration: 1000 highlightFollowsCurrentItem: true preferredHighlightBegin: 0 highlightRangeMode: ListView.StrictlyEnforceRange interactive: true displayMarginBeginning: 100 displayMarginEnd: 100
We used the arrow keys (up/down) to navigate the list.
It worked most of the time including the animation.
But, when we added items to the model, the highlight move animation stopped causing a glitch in the UI.
This happen also when we use custom animation as described in listview-highlight-move-animation-glitch-custom-animation.qml.
I've attached a patch that solves the problem only in our case using the default animation and not the custom animation. Even so, I don't know if this patch is the proper solution.
Attachments
Issue Links
- relates to
-
QTBUG-33568 ListView with StrictlyEnforceRange scrolling problem
- Closed