Actions
Bug #13408
openWSortFilterProxyModel sends wrong information about inserted rows
Start date:
01/10/2025
Due date:
% Done:
0%
Estimated time:
Description
If rows to a model are inserted via a WSortFilterProxyModel (i.e. a call to WSortFilterProxyModel::insertRows()), while the current implementation asks the underlying model to insert the correct number of rows, it then proceeds to assume that only exactly one row has been added in all cases.
I created a PR on github (https://github.com/emweb/wt/pull/224) to fix this; it is based on Wt 4.11.1 and applies without issues to 4.10.4 as well.
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from New to InProgress
- Assignee changed from Stephan Ehlers to Matthias Van Ceulebroeck
- Target version set to 4.12.2
- % Done changed from 80 to 0
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from InProgress to Review
The PR will be merged as-is, and an additional ticket will be made to go farther in fixing the models.
There seem to be a variety of small use-cases not covered, or behaving slightly different than expected.
These will be fixed in the other ticket, and tests will be added for it.
Updated by Matthias Van Ceulebroeck about 1 month ago
- Related to Bug #14079: Correct implementations of WAbstractItemModel added
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Stephan Ehlers
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from Implemented @Emweb to Implemented @Test
Actions