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

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

    XMLWordPrintable

    Details

    • Platform/s:
      macOS

      Description

      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

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-32224
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              sorvig Morten Sørvig
              Reporter:
              con Eike Ziller
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes