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

[REG 5.5.1->5.6.0] Removing and adding rows breaks ListView content positioning

XMLWordPrintable

    • 9cb3bc655a42f386607316d228a64422d453b201

      Commit 35d8d060b8621cfd17f92f9c632d99ceceb9acaa in qtdeclarative causes the list in ListView to start from odd position if the view was scrolled before the rows were re-added.

      To reproduce:

      • run attached example
      • click red rectangle (scrolls view to bottom)
      • click blue rectangle (to remove and append)

      Notice that the viewport is not at the same point is was before and also note that at the same time contentY has not changed, but still there are items beneath. Also contentHeight has not changed, but scrolling to very top shows that the list does not start at 0 and also the end of it moves beyond contentHeight.

        1. qtbug64219.tar.gz
          1 kB
        2. fancier.qml
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes