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

Expose QWindowPrivate::allowClickThrough

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • None
    • macOS

      On macOS, apps typically ignore clickthrough — Apple's documentation says "By default a view does not receive mouse-down events if it isn't in the frontmost window".

      I'd like to give my app the ability to follow that convention, but currently QWidgetWindowPrivate::allowClickThrough always returns true, causing [QNSView acceptsFirstMouse:] to always return YES.

      Could you expose control over that value, either at an app-wide level, a per-window level, or a per-view level?

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

            vestbo Tor Arne Vestbø
            smokris Steve Mokris
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes