Priority: P3: Somewhat important
Affects Version/s: 5.12.4
Fix Version/s: None
Component/s: Widgets: Itemviews
Environment:Expected to be hardware independent. Tested on two different laptops. One running windows and another running ubuntu.
- TreeView (model based).
- The custom model inherits from QStandardItemModel with a custom model. In the model the *mimeData and canDropMimeData functions are overridden.
- It should be possible to drag/drop items in the tree
- when and item drag is started SLOWLY such that the item is first dropped onto itself, resulting in a "can-not-drop" cursor, then none of the other nodes will accept the item afterwards.
- Except when the node is dragged out of the window and then back into it, entering the control via one of the nodes that will accept the item. In that case the canDropMimeData function is called on that node and everything works fine.
I suspect that this is similar to QTBUG-44939 although it also occurs when canDropMimeData always returns true.
Tested in both C++ (windows 10) and python (windows 10 / linux).