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

Mac: Gui application brought to foreground even though LSUIElement set to 1

XMLWordPrintable

    • macOS

      When a Mac GUI application has LSUIElement in its Info.plist set to 1, it is nevertheless activated and brought into foreground of all other applications.

      The code in qcocointegration does two things:

      • call qt_mac_transformProccessToForegroundApplication. This correctly only transforms to foreground application if LSUIElement is not != 0
      • call [cocoaApplication activateIgnoringOtherApps : YES]. This is done unconditionally, but it should only be done if the application actually wants to be a foreground application, similar to the qt_mac_transform...... call above

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

            sorvig Morten Sørvig
            con Eike Ziller
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes