KNotificationItem specification - first draft

Valerio Pilo pilo.valerio at
Sat Sep 5 11:48:15 BST 2009

In data sabato 05 settembre 2009 12:09:14, Tom Albers ha scritto:
: > Op Saturday 05 September 2009 01:34 schreef u:
> > questions and comments are more than welcome
> In that case ;-)
> Can I detect if a systray icon is hidden or not? I would need that to fix:
> (as rsibreak is a systray app, without mainwindow, users can get confused
>  if rsibreak is running or not, so if they launch it a second time a popup
>  is shown with a screenie of the tray and an indication which icon is
>  rsibreak. But if the trayicon is hidden, this screenie failes)
> Toma

hey that app uses the code we ported from Basket Note Pads for KMess :)

That screenshot dialog box won't work anymore with the new tray, as there's no 
way to know where the tray icon actually is - there may also be more than one 
tray icon.
I've resorted to making our icon to flash (with setStatus(NeedAttention) ) and 
telling so in the close-to-tray dialog.


More information about the kde-core-devel mailing list