OT: libstartup-notification?

Brian J. Tarricone bjt23 at cornell.edu
Mon Feb 25 21:23:41 CET 2008


Colin Leroy wrote:
> On 25 February 2008 at 14h02, Enrico Tröger wrote:
> 
> Hi, 
> 
>> My understanding of this was, that the started application(Geany)
>> sends a signal with libstartupnotification when it has finished
>> starting up. But first, I don't know how to do and I don't find any
>> example code.
> 
> It's quite easy, see this commit:
> 
> http://colino.net/claws-mail/getpatchset.php?ver=0.9.12cvs57.5 (licensed as 
> GPLv2 or later).

Not only is that not necessary (see my and Erik's posts), but that code 
effectively defeats the entire point of SN.  The idea is that the user 
gets some kind of visual notification (spinning mouse cursor, or 
whatever) until the app opens its first window.  Unless I'm 
misunderstanding something (possible, as I've not looked at more than 
just that patch), claws-mail quickly opens a dummy window, signals SN 
completion, which should tell the launching app to reset its visual 
notification, and only then does it start to do its initialisation that 
will bring up the main window, which depending on various factors, could 
take a few seconds, during which the user has no idea what's going on.

So, instead of providing a useful visual notification to the user until 
the main window is opened, it drops that visual notification right after 
gtk gets initialised.

	-brian



More information about the Xfce4-dev mailing list