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

Mac: QCursor::setPos does nothing

    XMLWordPrintable

Details

    • macOS

    Description

      1. Run the sample app.
      2. Click anywhere in the window, the cursor does not move anywhere (it is supposed to go to the center).
      3. Uncommenting the line 21 in myWidget.mm produces the expected behaviour.

      It seems like calling the Cocoa function CGWarpMouseCursorPosition(...) works as expected but QCursor::setPos does nothing. Only observed on macOS 10.14.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            geffrak Kerby Geffrard
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes