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

QML MouseArea resumes dragging after external drag is finished.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.6.0
    • GUI: Drag and Drop
    • None
    • XCB
    • ab2cf73440e5fbda9e2a3ba15dc1df7895c49679

    Description

      I found this while investigating QTBUG-49876: when an external (inter-process) drag which was started from a QML MouseArea finishes, the MouseArea doesn't get the mouse release event and thinks that the drag is still active. The target item is being dragged around, even though no mouse buttons are pressed anylonger.

      I don't know why, but for some reason the QSimpleDrag::eventFilter() method is being called with the source object parameter set to the QShapedPixmapWindow, and forwarding the mouse release event to this window won't have any effect.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-52541
          # Subject Branch Project Status CR V

          Activity

            People

              mardy Alberto Mardegan
              mardy Alberto Mardegan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes