Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141437

Adding or removing rows in a TableView causes display issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5.8, 6.8.4
    • Quick: Controls 2
    • None
    • Visual Studio 2022
    • Windows

      Adding or deleting rows in the TableView may cause rows to reorder or some row content to be cleared.
      Bugs don't necessarily occur, but they do occur frequently.
      After adding or removing rows from the QAbstractTableModel, resetting it as the TableView's model does not cause bugs.
      However, resetting the model takes time to complete the display due to the large number of rows in the QAbstractTableModel.

      Attached is a sample for reproducing the bug and a video showing the bug being reproduced.

      Please fix it to allow adding or removing rows to the TableView on a row-by-row basis.

        1. tableview-sample.zip
          8 kB
        2. video_add_rows.mp4
          830 kB
        3. video_remove_rows.mp4
          1.21 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            smd Jan Arve
            fuminori.matsubara Matsubara Fuminori
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes