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

Mouse cursors not restored correcly after a drag operation.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Component/s: GUI: Drag and Drop
    • Labels:
      None
    • Environment:
      Windows, VisualStudio 2017
    • Platform/s:
      Windows

      Description

      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).

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes