Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
4.6.0, 4.8.4
-
Windows XP, OS X, Linux
Description
First I must apologize for not providing any verification using a simplified C++ demo. I do not trust my competence in that language.
I'm using PyQt 4.6.1 on Linux Mint and PyQt 4.6.2 on Windows XP. I've subclassed QTreeView and QAbstractItemModel and set it up so that the user can re-arrange the tree nodes with drag and drop.
supportedDropActions() returns Qt.MoveAction
When dropMimeData() returns False in Mint, removeRows() is NOT called. When it returns True, removeRows() is called. I assume this is the designed functionality. However in Windows XP, regardless of the return value removeRows() is always called.