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

ListView scrolling behavior breaks when using lazy loading model

XMLWordPrintable

    • a7880a0c92323ccb2f297a39a993a87e20d65e9c 96ec0ab8f0b2e53eff6e1887aff7e51601821845

      Changing current index with arrow keys makes highlight go outside of preferred highlight range on switching to the first loaded item after fetchMore() is called.

      Setting current index past the currently loaded part of the model doesn't make the view and the highlight scroll to a new index.

      See example application in attachment.

        1. lazy_model_test.zip
          3 kB
          Alex Busenius
        2. lazy_model_test2.zip
          3 kB
          Nikolai Gubarev
        3. Wrong highlight with 4 delegates.ogv
          621 kB
          Nikolai Gubarev
        4. Wrong highlight with 4.5 delegates.ogv
          1.07 MB
          Nikolai Gubarev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            alexbusenius Alex Busenius
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes