Bug 212751

Summary: KNotify popups on Mac steal focus; should also use Growl when installed
Product: [Unmaintained] kdelibs Reporter: Sjors Gielen <dazjorz>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: Fink Packages   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sjors Gielen 2009-11-02 16:35:24 UTC
Version:            (using KDE 4.2.4)
Compiler:          i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) 
OS:                OS X
Installed from:    Mac OS X (Fink) Packages

On Mac OS X, when a KNotify notification popup is shown, it steals focus. For example, When I'm writing something and someone comes online on KMess, focus is stolen when the notification pops up and I have to click the text entry to continue typing.

I would expect the popups not to steal focus. Apart from that, if the native notification system Growl is installed, it should use that instead, as many OS X applications currently already do.
Comment 1 Sjors Gielen 2010-08-07 22:00:43 UTC
Am currently fixing this myself.
Comment 2 Sjors Gielen 2010-08-15 20:06:09 UTC
SVN commit 1164056 by sgielen:

FEATURE: 212751
Reviewboard entry 4962
Implements 'simple' Growl support for Windows and Mac in KNotify. DBus is preferred over Growl, but Growl is preferred over KPassivePopup. Should not change anything on Linux systems, with or without DBus daemon.


 M  +1 -0      CMakeLists.txt  
 M  +33 -3     notifybypopup.cpp  
 A             notifybypopupgrowl.cpp   [License: GPL (v2+)]
 A             notifybypopupgrowl.h   [License: GPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1164056