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

QListWidget InternalMove copy item

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Platform/s:
      Windows

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            lugru Łukasz Grużewski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes