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

QML XmlListModel reload messes up ListView while dragging

XMLWordPrintable

    • e778e0b09d79d311ece2950e499180eccae26b8e

      See attached files.

      cctray.qml reloads the cctray.xml with 2 second timer. Drag the list view and wait for reload before releasing mouse. Four items become visible (although there are only two in the model) and focus starts behaving all funky, i.e. focus highlight is reset on each reload to a position outside the list rect, and the highlight item is animated from there to the current item.

      Seems the list content rect is moved upwards with the height of the children, but the list items are drawn to correct positions (to be visible on screen).

      No problems with only one project item in the xml.

        1. cctray.qml
          0.7 kB
        2. cctray.xml
          0.5 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)
            mikkohar Mikko Harju
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes