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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes