Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.12.2
-
None
-
Windows 10
-
-
2436de31b (dev), e4151b581 (6.5)
Description
This bug can be reproduced by running the attached QML file using qmlscene and scrolling up and down through the list.
Due to the ListView needing to know the sizes of the delegates in order to correctly size the scroll bar I would not expect the scroll bar to be sized to the total content immediately, but instead sized to the content that is visible and to content that has previously been visible.
The current ListView behavior will size the scroll bar to the current visible content along with any loaded content defined by the size of the cacheBuffer. This will cause the scroll bar to shrink and grow as different sized delegates enter visibility or are loaded by the cacheBuffer and leave visibility or are unloaded by the cacheBuffer. This change in loaded content size also causes the scroll bar to jump around slightly.
Attachments
Issue Links
- is duplicated by
-
QTBUG-107847 Listview scrollbar changes size and jumps
-
- Closed
-
-
QTBUG-69330 When the bounds behavior of a ListView is to stop at bounds, then changing the current index in more than single increments can mean it stops short
-
- Closed
-
-
QTBUG-93582 QML ListView ScrollBar doesn't work properly with variable height items
-
- Closed
-
-
QTBUG-83898 ScrollBar/ScrollIndicator changes its height while scrolling ListView
-
- Closed
-
- relates to
-
QTBUG-17769 Drag over bounds errors when ListView has variable height content
-
- Closed
-
-
QTBUG-42027 Wrong scrollbar size in scroll view if it holds items with variable heights
-
- Closed
-