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

listview: appending item when highlight moving will result in not visible highlight

XMLWordPrintable

    • a7880a0c92323ccb2f297a39a993a87e20d65e9c

      if the currentitem is the last visible item, then down keyevent will result in currentIndex ++, and then highlight moving follow currentItem, the listview will track the highlight.

      but if we append item when highlight moving, the model changed (may be applyModelChanges) will set moveReason = QQuickItemViewPrivate::Other; and it will result in 'trackedPositionChanged' no effect.

      then the listview stop tracking highlight, we can only see part of highlight even no highlight after that.

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

            srutledg Shawn Rutledge
            niqingliang2003 niqingliang2003
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes