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

MouseArea: Drag aborted after leaving window

    XMLWordPrintable

Details

    • 6933b7e8e6dc279a8eb34e1f4c60bc109dfb7d26

    Description

      When starting a drag from a MouseArea and then leaving the QtQuick window with the mouse cursor, the drag is not resumed after entering the window again. This works on other platforms, but not Linux.

      To reproduce, use the attached example. Drag the blue rectangle out of the window, then (still holding the mouse button down) re-enter the window with the mouse cursor. Expectation: The drag continues (i.e. blue rectangle is moved) as soon as the mouse enters the window again. Actual outcome: The drag is aborted as soon as the mouse cursor leaves the window.

      Tested with:
      qtbase: v5.0.0-299-g3d9a400
      qtjsbackend: v5.0.0-2-gce0de18
      qtdeclarative: v5.0.0-35-gd89f1db

      Attachments

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

        Activity

          People

            frederik Frederik Gladhorn
            tmcguire Thomas McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes