Thoughts on the systray II.

Lubos Lunak l.lunak at
Mon May 2 12:14:36 BST 2005

On Saturday 30 of April 2005 01:24, Aaron J. Seigo wrote:
> On Friday 29 April 2005 12:36, Kuba Ober wrote:
> > > the particular reason here is that there is no one-to-one relationship
> > > between windows and systray icons. nor should there need to be. the app
> > > should be able to create as many or as few as it wants, regardless of
> > > how many windows it's showing.
> >
> > Methinks that ideally, one should be able to write a "plain old C"
> > application that shows itself in the systray, assuming that C bindings to
> > whatever IPC is being used are available. And that application ideally
> > should not depend on X libraries.

 Ideally, ideally ...

> agreed. for now we can experiment with it using WM hints until we get the
> interaction down, and then when we move to an IPC mechanism with a system
> bus we can switch to that =)

 Can we? If the tray is to work as an another taskbar, then it simply has to 
rely on a WM, WM hints, and X, end of story. I don't know how non-X11 
platforms handle their WM-like functionality (KDE the desktop doesn't work 
there anyway, and I think it will stay that way for at least some time), but 
this is how WMs on X work and will stay to work for the time being. The rest 
like showing the popup perhaps can be based on some IPC, but who cares as 
long as it is wrapped.

 The very basic principle of my patches is that any window can be docked into 
exactly one tray icon, which can have a popup and whatever. If you don't like 
that, propose something different. If I get to final polishing of all the 
functionality and only then you say that you ... uhm ... actually don't want 
that in Kicker, I'll consider flying to Malaga with a baseball bat with your 
name on it ;).

Lubos Lunak
KDE developer
SuSE CR, s.r.o.  e-mail: l.lunak at , l.lunak at
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic

More information about the kde-core-devel mailing list