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

QML drag and drop gets stuck when dragging quickly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.5, 5.15.3, 5.15.5
    • None
    • Windows 10.0.18363 Build 18363 x64
    • Windows

    Description

      Sometimes, with QtQuick, when drag and dropping with automatic dragType, the drag and drop system stays "stuck" on the previously dragged item. It happens frequently in our QtQuick app with lots of drag and drop happening, but we managed to create a simple repro case.

      To reproduce (see video):

       - Build/Launch the attached DndTest project

       - Drag and drop quickly one of the drag items outside the window

       - See now only the previously dragged item receives hover events

       - See that if you drag and drop another element, the first one is the one that is actually dragged

       

      I could reproduce with all the qt 5.15.x and qt 5.12.x versions I have on my machine

      Attachments

        1. dndbug.mp4
          91 kB
        2. DndTest.zip
          2 kB
        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
            camille Camille MASSON
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes