Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.2, 6.2.6, 6.5.0 RC, 6.6
-
-
a815c40e7 (dev), 74ee445a6 (tqtc/lts-6.2), cfb1b9661 (6.5), 45b996de8 (tqtc/lts-5.15)
Description
Hello,
Issue: QMainWindow with QListWidget that has implemented drag & drop support using InternalMove. QListWidgetItem has set custom QWidget.
The issue is that on drop event (with is Qt::TargetMoveAction) item is re-created (item is deleted and new one is added) and that behaviour is not consistent. For example sometimes it happens when dropping between other items, but usually (reproducible 100%) happens when dropping on bottom of QListWIdget window where there is no items.
Expected behaviour is that item changes it's order on the list.
Issue noticed on Windows with Qt 5.15.2, using 5.14.2 can't reproduce issue.
Attachments
Issue Links
- resulted from
-
QTBUG-87057 QListView item looses items from models that don't override moveRows during internal drag'n'drop
- Closed