I'm using a ListModel as sourceModel, and I need to sort my model's data from my backend which calls ListModel.move(), so I want to use SortFilterProxyModel purely for filtering.
The SortFilterProxyModel gets reset whenever a movement happens, which causes all delegates to be constantly deleted-recreated and breaks any ListView.move transition... what causes this behavior?
Here's a sample code that demonstrates the problem.
I'm using a
ListModelassourceModel, and I need to sort my model's data from my backend which callsListModel.move(), so I want to useSortFilterProxyModelpurely for filtering.The
SortFilterProxyModelgets reset whenever a movement happens, which causes all delegates to be constantly deleted-recreated and breaks anyListView.movetransition... what causes this behavior?Here's a sample code that demonstrates the problem.