[KDE/Mac] "native notifications"
René J.V. Bertin
rjvbertin at gmail.com
Sat Dec 20 20:31:14 UTC 2014
On Thursday December 11 2014 13:30:30 Gilles Caulier wrote:
A bit of a belated thanks for your answer. I'd hoped to be able to look at this already, but then I went and thought I could make qt4-mac coinstallable with qt5-mac ...
I'm not forgetting your pointers, though.
> I'm also a Macbook user (with Linux of course) but to see OSX support
> better is very important.
Of course .... :)
> To implement native OSX notification, it's very simple but not yet
> complete in digiKam.
> At least, notifications are registered and displayed in OSX notifier
> history but, there are not displayed over the desktop as well when
> there are send to notifier. This si due to window management done with
> OSX which need to know the active application which send the
> notification. Currently, digiKam is not know as active application so,
> notification is push in the background as history event.
> I look in implementation from my favorite audio player Clementine
> (http:///www.clementine.org). I see the rule in ObjC to send
> notification, but the way to said to OSX that application is active is
> a little bit complicated and code is not clear for me. I plan to
> investiguate better in the future, when time permit.
> In digikam, look here :
> This is the notification wrapper, which analyse host OS and try to
> send notification in the better way. macnotification.mm is the famous
> ObjC implementation to send notification under OSX.
> Voilà, i hope that it will help you...
More information about the kde-mac