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.

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

            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