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

Removing the first row out of model cause TableView update incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.8.0
    • None
    • Mac 10.6 - Qt 4.8 Beta

      Qt Desktop Commit 807d861e948f3c64d9a40b708f4a9ee873c7d3f2

    Description

      When implementing a C++ model, calling beginRemoveRows(), removing the first item (row = 0), and then calling endRemoveRows(), causes the TableView to update incorrectly. The TableView will create empty space at the location of the removed item (see attached screenshot).

      QML also outputs this error message:
      file:///usr/local/Trolltech/Qt-4.8.0/imports/QtDesktop/TableView.qml:484:5: QML QWheelArea_QML_110: Binding loop detected for property "verticalValue"

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            vpicaver Philip Schuchardt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes