Desktop app maintainers: Please check for StartupNotify=true

Kevin Kofler kevin.kofler at chello.at
Tue Mar 16 17:20:32 UTC 2010


Colin Walters wrote:
> The main tricky situation comes when the app implements
> single-instance behavior internally, and does some sort of IPC (dbus,
> whatever) to talk to an existing instance.  In GNOME 3 this doesn't
> matter as much because we do single-instance by default, but otherwise
> it's definitely possible to get the stale "Starting foo..." until it
> times out.   Actually handling this correctly is tricky[1], and I just
> noticed one of my apps doesn't.  Maybe I should really take the plunge
> and backport app tracking to GNOME 2 which would obviate this.

Single-instance apps should really use something like libunique or KDE's 
KUniqueApplication instead of reinventing the wheel.

        Kevin Kofler



More information about the devel mailing list