Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.12.0
Description
Yes it's still a problem and it's quite frustrating. Please read this post:
It contains both problem and solution. (For tables drag and drop)
The behavior is really weird and should probably be fixed
I can get the behavior I want, more or less, for extended select, drag and drop, move with QTreeWidget by removing drop flag from entries however even that's a bit buggy. (For instance if you chose to drag items from the bottom of a selected list the order, when dropped to a new location, is often ruined and not preserved.
Also It would be nice if, after one has moved a selection, it keeps that selection instead of removing it. It makes it very visually confusing and it's hard to keep track of what was previously selected in a list.
Observe: 1) Order Not preserved 2) No visual feedback on prevously selected rows
(example with QtreeWidget)
This is, you have to admit, odd behavior. The intuitive behavior in this example should have the following order: 1,3,0,2,5,6,7,8,9,4 with 0,2,5,6,7,8,9 remaining selected.
Would be nice if any fixes / improvements made here are also applied to list widgets and table widgets
Attachments
Issue Links
- duplicates
-
QTBUG-64445 QTreeView, QStandardItemModel - Drag & Drop - bad drop on last item
- Reported