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

[Reg 5.14.1-5.15.0] QML ListView not behaving as expected with ObjectModel

    XMLWordPrintable

Details

    • ab03621516630991c7cc0fea3be79879efed23a8 (qt/qtdeclarative/dev) 9d6cc0f7ecafde186ec729f44dd412be3c845638 (qt/qtdeclarative/5.15)

    Description

      when a new ObjectModel instance is assigned to the ListView object to change the user interface, contents of old model are not removed before assigning the new one.
      While on Qt5.14.0 previous model contents were removed after the new model was assigned to the ListView, it is no longer working with Qt5.14.1 and 5.15.0 - previous model contents stay on screen, which makes the models' contents overlap each other on the ListView.

      Please find the sample attached.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            shmittal Shveta Mittal (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes