Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1, 5.3.0 Alpha
-
None
-
qtdeclarative#stable: fc5314f96990148a7c32b988caf53c5db92b2b4b
Description
UPDATE the attached example list_bug_reproduced.qml reproduces the bug using qmlscene
When you have a flickable QtQuick ListView and you drag an item such that the list view is scrolling then sometimes the dragged item disappears and you cannot drop anything anymore.
I was able to reproduce this with a special case in the attached example (main.qml), but it is reproducible with a normal drag and drops in a more complex application, which has a larger render load. The bug occurs frequently in that application, but it doesn't appear to be deterministic. It seems to happen only when dragged from right to left, and when the dragged item is swapped at the leftmost visible item.
How to reproduce in the example app: Drag an item from right end to left such that the list view starts scrolling. Wiggle the mouse on the left end of the window to continue the scrolling even if there are no more items in the view. When all of the items have scrolled out of the window the dragged item disappears and shortly reappears when the list is redrawn to the window. Now the dropping doesn't work anymore.
I also attached two stack traces from the real application: stack1.txt happens when the dragged item disappears and stack2.txt after that.