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

Mouse cursors not restored correcly after a drag operation.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.13.1
    • GUI: Drag and Drop
    • None
    • Windows, VisualStudio 2017
    • Windows

      After starting a drag operation with QDrag::exec() the mouse cursor does not return to the original one, expecially if dragging along over a lot of differents window and then cancelling the drag operation itself.

      The mouse cursor have to be restored with the following code:

      while (QGuiApplication::overrideCursor())  
         QGuiApplication::restoreOverrideCursor();

      Note: that loop may be executed a lot of times (maximum peak detected is 14).

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

            Unassigned Unassigned
            RaR Alessandro Ribolzi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes