Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
4bc81bb1cb3cd4a0a3fe071e00556124e770d7ac, 08df2a17f4f0ed9b5ce69ad91e3849260acda092, ff10e44642d65b2dde50579c4994aa9def43f4c0
Description
QML ListView does not handle layoutChanged. That means that if a QSortFilterProxyModel is used in a qml scene, the items get very messed up.
I looked at the code, and indeed the signal is not handled.
The attached app demostrates the issue but does not use QSortFilterProxyModel for simplicity.
After the contents change, the contents in the QML scene do not change. Then, if the contents are flicked up or down the items appear duplicated. Any app which uses QSortFilterProxyModel will be affected by this.