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

Expose QWindowPrivate::allowClickThrough

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes