IconTasks taskmanager changes

Craig Drummond Craig.Drummond at gmx.net
Fri Oct 28 07:47:50 UTC 2011


> > > it cannot be run two times. The check for an already running Amarok
> should
> > > happen just in Amarok itself...
> > > And here with the unpatched libtaskmanager and the standard
> task-widget
> > > exactly what you propose happens.
> > 
> > Ok, bad example. Think of any non-KUniqueApp in systray then, Quassel
> for
> > example, this opens two windows for sure.

The problem here is that the taskmanager library does not really manage tasks, but windows. So, when Quassel is minimised to the system try, the taskamanger emits a windowRemoved - and the task applets remove the entry. The launcher is then re-shown, as no visible task is on the taskbar. Clicking the entry launches a new instance.

To solve this, Quassel should be a KUniqueApp. Otherwise, how would we know to start a new instance, or activate the current instance?

Craig.
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the Plasma-devel mailing list