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

QtAbstractItemModel asserts when being rapidly modified

    XMLWordPrintable

Details

    • Android
    • 8c9381dfb (dev), 0f976ea1a (6.8), 8bea7773f (dev), 4b6358f43 (6.8)
    • 2024wk30s2FOQtforAndroid

    Description

      Tested with the in-progress example from QTBUG-125976.

      Steps:

      1. Add 20 rows and 20 columns to the model
      2. Remove column/row
      3. Add column/row
      4. Loop step 2 & 3 for a few clicks.

      Result:
      After some rows and columns, adding new ones becomes noticeably laggy.
      After 1-10 loops of steps 2 & 3, the application hits an assert and shuts down.

      Log: log.txt

      Attachments

        1. log.txt
          20 kB
          Petri Virkkunen
        2. log-1.txt
          17 kB
          Petri Virkkunen
        3. MyDataModel.java
          5 kB
          Soheil Armin
        4. Screencast from 24.07.2024 10.34.25.webm
          1.05 MB
          Petri Virkkunen

        Issue Links

          For Gerrit Dashboard: QTBUG-127467
          # Subject Branch Project Status CR V

          Activity

            People

              rampe Rami Potinkara
              pevirkku Petri Virkkunen
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews