Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.2
-
9cb3bc655a42f386607316d228a64422d453b201
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-56461 ListView - contentY goes crazy
- Reported
-
QTBUG-20927 ListView: contentY is wrong when first item is removed
- Closed
-
QTBUG-27884 Wrong update contentY if operate with first item in ListView
- Closed
-
QTBUG-54436 QML ListView - contentY not refreshed after removing row
- Closed