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

Top level embedded QWindows don't get some NSWindow notifications

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.2
    • Fix Version/s: None
    • Component/s: QPA
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      The QWindows is embedded in a native application. It cannot get some NSWindows notifications.

      More specifically:

      1. When switching between host application's window and embedded window, QWidget don't get QEvent::WindowActivate.
      2. When moving mouse out of the embedded window, QWidget don't get QWidget::leaveEvent().

      Attached is the patch attempting to fix the above issues.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes