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

Item views don't handle insert/remove of rows robustly

    XMLWordPrintable

Details

    • 35d8d060b8621cfd17f92f9c632d99ceceb9acaa 0fab5761d5428aa708edd66e40fc3c449adc4b11

    Description

      This one is tough to describe, but here goes.

      When an itemview (I've tested both GridView and ListView and found both to have the same bug) recieves a lot of model row inserts/removes, the view starts messing up very, very badly.

      Symptoms:

      • Rows will become piled on top of each other
      • Rows will appear to have empty gaps (probably due to the above)

      See the attached testcase for reproducing. Open it, and scroll around (particularly down to the bottom, repeatedly).

      Comments on what appears to be going on under the hood to follow.

      Attachments

        1. modeltest.tar.gz
          1 kB
        2. modelbug.png
          modelbug.png
          128 kB
        3. 0001-DEBUG.patch
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            w00t Robin Burchell
            Votes:
            12 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes