About message indicator and launchers
Roderick B. Greening
roderick.greening at gmail.com
Wed Sep 9 14:50:26 BST 2009
> > Sure, if it can be made to hide the icon from the systray but keep the
> > application active within the MI. Not sure how easy this may be.
> > Basically, in order for the application to be kept running, some instance
> > of the application must be running somewhere (i.e. some type of window or
> > icon). If the icon embeddd in the MI is an instance of the tray icon (for
> > example) it would effectively keep the application active and running.
> From the comments I read, I was under the impression that people found
> Kopete was still running even if it did not have any tray icon, so I
> guess keeping a window opened is not a requirement.
I think that was a bug. I haven't seen that happen since (i.e. the app was
running, but the icon got stuck and could not display). Technically, when the
last window closes, the app quits. Thats how I understand it works. So, if the
icon is hidden (technically closed), the app would normally quit as it was the
last active window holding the application open. That's how I understand it.
So, if you just hide the icon in the systray via the systray hide, the window
is still open/running, and it will work. If you attempt something else, I
expect the application will silently quit/end. This is not specific to kopete,
and would be likely for any other application.
> > Maybe it's possible to "gobble" up the tray icon into the MI instead of
> > the systray thus keeping the app running and then the icom in the MI
> > would behave and allow the left click to re-open (unhide) the main window
> > and a right click would give the same right-click options from the
> > original systray icon. So, what I am suggesting is a way to embed the
> > icon from the systray into the MI (if that makes sense).
> This can't be done because they are very different protocols:
> - In the MI protocol the Kopete plugin passes the indicator description
> over dbus and a different process (in our case Plasma with the MI
> plasmoid) reads this and display it.
> - In the systray protocol the systray icon belongs to the Kopete process
> and Plasma is just embedding it in the systray plasmoid.
Oh well, it was a thought. It would cleanly move the icon from the systray
into the MI if it was possible, thus removing the question of "do I click the
icon in the tray" or "do I click the icon in the MI" and "how come neither
icon behaves the same". :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20090909/e5a3c309/attachment-0002.pgp
More information about the kubuntu-devel