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

Model changing not working with Repeater, VisualDataModel and ListModel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.7.4, 4.8.1
    • None
    • Mac OS X 10.7.3 & Windows 7

    Description

      Model changing has unexpected results when using a Repeater with a VisualDataModel that uses a ListModel.

      Steps:
      1. Run the attached qml file (visualDataModelTestQml.qml) with qml viewer.
      2. Click anywhere in the view.
      3. Observe the change in the objects that are visible on the screen.

      Expected result:
      The items should have texts matching the values in model2 ("Model2 - Item 1", "Model2 - Item 2", etc.)

      Actual result:
      The texts in the items do not change. The only observable change is that the first item (with text "Model1 - Item 1") moves to the end of the Flow.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            elysion Miko Kiiski
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes