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

QtQuick: DragHandler not cancelled on ESC key outside window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0, 6.5.2
    • None
    • 1. Windows 10, Qt Creator 10.0.0, Qt 6.5.0, VS 2019 compiler
      2. Debian Buster, X11, Qt Creator 10.0.2, Qt 6.5.2, gcc 8.3.0
    • Linux/X11, Windows

    Description

      DragHandler is not properly deactivated when a drag operation is cancelled with the ESC key outside of any window.

      A minimal example is provided:  See DragHandlerCancelProblem.zip

      Compile and start the application.

      Drag the blue rectangle outside any windows until hovering on the desktop background. Then press the ESC key.

      The drag operation is cancelled but the DragHandler is not inactive. The effect is:

      If you now re-enter the application window and press, hold and move the mouse at any space OUTSIDE the blue rectangle then a drag is started on the blue rectangle.

      This does not happen if the drag operation was cancelled within the application window.

      On Linux it doesn't happen either if the drag operation was cancelled within any window.

      Attachments

        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