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

DropArea rejects DragEnter events id Drag.source is set to some ancester

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5.2
    • None
    • Linux/X11, Windows

      Your fix of QTBUG-64128 doesn't work as expected:

      Now QQuickArea::dragEnterEvent() checks if the drag source is an ancester of "this".

      This works only as expected if Drag.source of the dragged item is not set.

      In my case Drag.source isn't set to the parent of the dragged item but to an ancester of it which holds all the necessary data for a complex drop operation. Since this item unfortuantely is also an ancester of my DropArea it doesn't work.

      You see: Your fix of QTBUG-64128 doesn't work in all cases and it leads to a weird behavior of DropArea which furthermore is not documented.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            cyril Harald Prasser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes