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

QML Drag and drop does not work in Ubuntu 12.04/14.04

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.3.1, 5.3.2, 5.4.0 Beta, 5.4.0 RC
    • Quick: Other
    • None
    • Ubuntu 12.04/14.04

      I tried running the externaldraganddrop example in Ubuntu 12.04 and 14.04 with Qt 5.3.1, but the example does not work correct for application internal drags. The first time dragging works, but in the second dragging in a row it does not.

      If user clicks (inside application or switches to other application), then dragging works again for one time.

      I noticed that mouseArea's drag.active property does not change to false after dragging has been completed. It is set to false only after clicking after the dragging.

      In Mac externaldraganddrop example is working just fine.

        1. DragAndDropTextItem.qml
          4 kB
          Bartosz Błaszkiewicz
        2. externaldraganddrop.qml
          3 kB
          Bartosz Błaszkiewicz
        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
            herwood Henrik Hakala
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes