[KDE/Mac] Review Request 126170: [OS X] make kded5 an agent, and build it as a regular application instead of an app bundle

René J.V. Bertin rjvbertin at gmail.com
Sun Nov 29 16:37:33 UTC 2015



On Nov. 25, 2015, 6:18 p.m., René J.V. Bertin wrote:
> > See qtbase/src/plugins/platforms/cocoa/qcocoaintegration.mm and qcocoahelpers.mm
> 
> René J.V. Bertin wrote:
>     Isn't copy/paste a great tool? :)
>     
>     Anyway, `qt_mac_transformProccessToForegroundApplication` only reads the `LSUIElement` key to determine whether an application is allowed to be transformed to a foreground application, and I don't see any evidence that it is published. It appears to be intended to be called by default, unless the env. variable `QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM` is set. Which is a bit surprising, but doing a `putenv` of that variable at the start of `kdemain` indeed does appear to have the desired effect.

ping?


- René J.V.


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126170/#review88838
-----------------------------------------------------------


On Nov. 25, 2015, 7:12 p.m., René J.V. Bertin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126170/
> -----------------------------------------------------------
> 
> (Updated Nov. 25, 2015, 7:12 p.m.)
> 
> 
> Review request for KDE Software on Mac OS X and KDE Frameworks.
> 
> 
> Repository: kded
> 
> 
> Description
> -------
> 
> There should be no reason to build `kded5` as an app bundle on OS X, and with recent feedback in mind I postulated that marking it "nongui" (`ecm_mark_nongui_application`) would be acceptable on other platforms too.
> 
> Additionally, `kded5` doesn't have any more reason to appear in the Dock or app switcher, on OS X, so I have added the code to make it an agent.
> 
> 
> Diffs
> -----
> 
>   CMakeLists.txt 4b9a5ff 
>   src/CMakeLists.txt 5e95df8 
>   src/kded.cpp 6929d7d 
> 
> Diff: https://git.reviewboard.kde.org/r/126170/diff/
> 
> 
> Testing
> -------
> 
> On OS X 10.9.5 with Qt 5.5.1 and FWs 5.16.0 .
> 
> 
> Thanks,
> 
> René J.V. Bertin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20151129/d706627b/attachment.html>


More information about the kde-mac mailing list