Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.3, 5.9.5, 5.11.0, 5.11.2, 5.12.0 Alpha
-
None
-
Kubuntu 18.04 x86-64, g++ 7.3.0
OpenGL version: 4.6.0 NVIDIA 390.48
-
-
98e7ec5920a8c5e2408c662c6cf2b78cfdb9c727 (qt/qtdeclarative/5.12)
Description
Steps to reproduce bug
Using the attached example project in test.tar.xz:
- Use the mouse to flick the list upwards (i.e. the list scrolls towards increasing indices). The list should be flicked with sufficient speed to have it scroll for a good amount of time.
- While the list is moving, press the "Go to end" button.
- The application will freeze.
While the application is frozen, memory usage rapidly increases. I do not know if the application eventually recovers (didn't want to risk the OOM killer).
I've noticed similar behavior when flicking downwards (i.e. towards decreasing indices) and calling positionViewAtBeginning. I've been able to reproduce this behavior on 5.11.0, 5.11.2, and 5.12.0 alpha.
Expected behavior
The application should move the list to the bottom-most row.
Workaround
Stopping flicking (i.e. calling Flickable.cancelFlick) before calling positionViewAtEnd seems to work around the issue.
Attachments
Issue Links
- relates to
-
QTBUG-70742 ListView creates too many delegates on a model reset while scrolling
- Closed
For Gerrit Dashboard: QTBUG-70941 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
242166,3 | Item Views: cancel flicking before programmatic absolute positioning | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |