more on the systemtray

Marco Martin notmart at gmail.com
Sat Mar 28 17:03:47 CET 2009


hi all,
the systray thing is coming along nicely, there are some things i still wand 
to get ironed out before proposing the thing on kde-core-devel, kdereviev and 
making the thing moving forward (even propose to freedesktop..)

renames:
now the services are called org.kde.SystemTray and 
org.kde.systemTrayDaemon, since the client is called KNotificationIcon, i 
think the services would make more sense as 
org.kde.NotificationIcon and org.kde.NotificationIconWatcher
straightforward but would require a quite massive renaming of stuff...

also, since usually the dbus exposed functions and methids are uppercase, 
should i do so also there?

images passing:
still didn't understood what should be the better way to pass images over 
dbus, now it passes the PNG data, and this is probably the most portable way, 
but also really slow (it has to compress /uncompress the image every time)
another way could be to pass the raw pixel data, that would take dbus for a 
bit longer but faster to write/load, it would need additional info (the 
overkill galago data or just width, height, data and assume that is always 
argb32)
another way could be as fredrik suggested me today, just pass x11 pixmaps 
handles, no copy, really fast, but portability issues?

Cheers,
Marco Martin


More information about the Plasma-devel mailing list