Project

General

Profile

Actions

Bug #14079

open

Correct implementations of WAbstractItemModel

Added by Matthias Van Ceulebroeck 5 days ago.

Status:
InProgress
Priority:
Normal
Target version:
Start date:
10/30/2025
Due date:
% Done:

0%

Estimated time:

Description

There seem to be various issues with WAbstractItemModel implementations (e.g. WStandardItemModel), when appending, inserting, or removing items, rows, or columns.
The model doesn't seem to:

  • always resize correctly, resulting in an unexpected model layout.
  • insert empty items correctly, resulting in nullptr entries.

These have been noticed so far, more may be applicable. The functionality ought to be corrected, to produce the expected outcome, and tests should be added to ensure that the functionality is correct.


Related issues 1 (1 open0 closed)

Related to Bug #13408: WSortFilterProxyModel sends wrong information about inserted rowsImplemented @TestStephan Ehlers01/10/2025

Actions
Actions #1

Updated by Matthias Van Ceulebroeck 5 days ago

  • Related to Bug #13408: WSortFilterProxyModel sends wrong information about inserted rows added
Actions

Also available in: Atom PDF