Skip to content

Feature Request: Granular model updates for ListModel<T> (Insert, Remove, Move, DataChanged) #6

Closed

Description

@Theneillsaaco

Description

Is your feature request related to a problem? Please describe.
Currently, ListModel<T> only supports a full reset. My model's entire update cycle relies on:

BeginResetModel(); 
_rows = rows.ToList(); 
EndResetModel();

Because there are no insert, remove, move, or dataChanged methods, actions like drag-and-drop reordering in my play queue force a full model reset. This causes the ListView to jump back to the top, requiring manual workarounds like saving/restoring contentY with Qt.callLater. Additionally, helper methods currently require [Qt.Ignore], which is easy to forget.

Steps to reproduce

.

Expected behavior

Describe the solution you'd like
Expose BeginInsertRows, BeginRemoveRows, BeginMoveRows, and DataChanged, or provide an ObservableCollection-style adapter.

Actual behavior

.

Qt Bridge for C# version

TP (C#)

Qt version

6.12

.NET SDK version

10

Operating system and architecture

No response

Tooling

No response

Logs

Activity

  1. added
    jiraTriaged; adding this label moves the issue to the Qt bug tracker and closes it
    on Nov 12, 2026
  2. github-actions commented on Nov 12, 2026

    @github-actions

    Thank you for the report. It is now tracked as QTBRIDGES-463 in the Qt bug tracker. Please follow up there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjiraTriaged; adding this label moves the issue to the Qt bug tracker and closes it

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions