Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
80c0441
Description
Given a a list view containing items with property values depending on states:
Problem:
The animations attached to these states PropertyChanges are played when the item appears at the top or bottom of the list while scrolling.
Expected result:
The animation should only be played when the bound property values change.
Currently the only item that behaves correctly is the currentItem, other items in the list should also behave that way.
See the attached qml example, the color property of items with needsAttention == true is animated each time you scroll these items in the visible part of the list.
This illustrates the use case I have in my application where I want the items in the list to be animated when a change is made by the underlying QAbstractItemModel.
This bug currently forces me to disable all animations in my ListView items since it makes the list annoying or unusable (depending of the animated property).