Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.9.6, 5.13.0
-
None
Description
QSortFilterProxyModel::mapFromSource returns a valid QModelIndex for the child index of the filtered out item. In other words, if B is child of A in the source model and A filtered out by proxy model, QSortFilterProxyModel::mapFromSource returns a valid QModelIndex for B. But invalid QModelIndex for A.
Attached a project that demonstrates the problems (see assert).