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

PathView Delegates Not Correctly Displayed On Model Reload

XMLWordPrintable

    • 1de4983c86a73913bd2d719ad765726530009979

      I have a PathView binded to a XmlListModel. Upon changing the xml query and modifying the currentIndex of the path, the delegates are not always displayed as expected (some are missing).

      Steps to repeat:
      1) Click on the center delegate (1 Displayed In Box, xml should reload and now display 7 in the center )
      2) Click the ">>" button twice (the path should now have 9 in the center box)
      3) Click on the "Home" button

      You should now see the issue as seen in the included screen shot. If I adjust the highlightMoveDuration at line 7 from 10 to 0 the problem seems to go away in this simple example.

        1. main.qml
          2 kB
        2. main2.qml
          2 kB
        3. snapshot1.png
          snapshot1.png
          3 kB
        4. test.xml
          0.4 kB
        5. test2.xml
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            martjone Martin Jones (closed Nokia identity) (Inactive)
            mike12779 Michael Dippold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes