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

macOS: QWindow::set(Keyboard/Mouse)GrabEnabled() doesn't grab

    XMLWordPrintable

Details

    • macOS

    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

          For Gerrit Dashboard: QTBUG-106597
          # Subject Branch Project Status CR V

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change