Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0, 5.4.1, 5.6.0 RC
-
None
-
Windows, both MS and MinGW.
-
84f61dd2d2b0140814b39a2c5238a6e31c49abd7 (5.7.0), e38a98ad4453974b2848eeed02d81e0c408ce0c6 (5.6.4)
Description
When using QSortFilterProxyModel on QML ListView it works fine and is sorting correctly until the ListView is not scrolled down. But crashes when trying to sort already scrolled down ListView with a message:
ASSERT failure in QList<T>::at: "index out of range", file c:\work\build\qt5_workdir\w\s\qtbase\include\qtcore\../../src/corelib/tools/qlist.h, line 478
It is easy to reproduce it with the attached sample project.