-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.0, 5.12.4, 5.13.0
-
None
-
macOS 10.14
- Run the sample app.
- Click anywhere in the window, the cursor does not move anywhere (it is supposed to go to the center).
- 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.
For Gerrit Dashboard: QTBUG-80594 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
566244,5 | macOS: Implement QCursor::setPos via CGWarpMouseCursorPosition | dev | qt/qtbase | Status: NEW | +2 | 0 |