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

ListView add 2x more items when Model.roleNames is updated between beginResetModel and endResetModel

    XMLWordPrintable

Details

    Description

      After building my app with the new 6.5.7 I encountered a strange bug with ListView. ListView adds 2x more items than in the model when model.roleNames is updated between beginResetModel and endResetModel.

      Try it with the attached project.

      Attachments

        1. ListView_Count.zip
          4 kB
          Romain Donzé

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              romain.donze Romain Donzé
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes