Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.4
-
None
Description
As discovered in QTBUG-106453, QCocoaWindow::setKeyboardGrabEnabled() and setMouseGrabEnabled doesn't actually grab anything, it just makes the NSWindow key.
Presumably we would need to somehow start pulling out key events at an app level if this function is called. And feed mouse events to the window.
Perhaps we should return false from these functions for now, to indicate they are not supported.
Attachments
Issue Links
- resulted from
-
QTBUG-106453 macOS: setKeyboardGrabEnabled does not work in embedded views
-
- Closed
-
- resulted in
-
QTBUG-112713 Pop up menu (QMenu) does not close in Qt Quick Application.
-
- Open
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-106597 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
472283,3 | macOS: basic support of mouse and keyboard grabbing | dev | qt/qtbase | Status: NEW | 0 | 0 |
432475,3 | macOS: Return false from set(Keyboard/Mouse)GrabEnabled | dev | qt/qtbase | Status: MERGED | +2 | 0 |