Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107605

QAbstractItemView dropEvent with Qt::MoveAction will parent to the wrong destination item.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.4.0
    • GUI: Drag and Drop
    • None
    • Windows

    Description

      Any reparenting attempted where the source item is before the destination within the internal model results in the wrong item parent. It seems to me as if the destination item is not stored before the source item moves to its destination. Thus making the mouse cursor in a different spot. See a visual demonstration of a QTreeView with vanilla QT drag and drop functionality going into the incorrect item below it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bastila Sean Willis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: