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

QWindow::fromWinId() doesn't work as advertised on OSX with setTransientParent()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.3.1
    • QPA
    • None
    • macOS

    Description

      I would like to use QWindow::fromWinId() with setTransientParent() to float my windows over another application. However on OSX QWindow::fromWinID() expects an NSView pointer which as far as I know is impossible to get from another application.

      I have a native implementation which uses kCGWindowNumbers to reference the external application window in calls to NSWindow:orderWindow:relativeTo:.

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              philr Philip Roberts
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes