Context menu disappears in treeview-dragdrop example
In your treeview-dragdrop example consider the treeview (folder) on the left.
Right click with mouse-> context menu appears.
Now sort the treeview. Again right click -> no context menu.
So what changed? The mouseWentUp event seem to fire more than once.
If it fires an even number of times the context menu is shown, on odd numbers it is hidden.
The reason for that is the following code part in TreeViewDragDrop::showPopup.
I do not understand the "else" anyway, but the main question (bug) is
why does mouseWentUp fire more than once?