Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.1, 5.6
-
None
Description
The attached testcase shows that the QML ListView attempts to re-evaluate bindings after starting a remove animation.
That re-evaluation can include an attempt to access data from a model, such as a QAbstractItemModel, for a row which has just been removed.
That is, the remove animation happens as a result of the QAbstractItemModel::rowsRemoved signal, so there is a 'tension' between the requirements:
- An attempt in the delegate to access the data while it fades out.
- The row in the model providing access to that data has just been removed.
The solution could be to cache data retrieved from the model.
Corresponding mailing list thread:
http://thread.gmane.org/gmane.comp.lib.qt.devel/24459
'Binding evaluation during ListView delegate remove animation'