Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
6.5.7, 6.8.0
-
None
Description
After building my app with the new 6.5.7 I encountered a strange bug with ListView. ListView adds 2x more items than in the model when model.roleNames is updated between beginResetModel and endResetModel.
Try it with the attached project.
Attachments
Issue Links
- relates to
-
QTBUG-57971 ListModel doesn't emit modelReset when its roles change
- Reported
-
QTBUG-125053 QAbstractListModel fails to populate QML model
- Closed
-
QTBUG-129165 regression ListView not updating count
- Closed