Bug 156904 - Allow icons to be in more than one systemtray widget
Summary: Allow icons to be in more than one systemtray widget
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 11:46 UTC by Bernd Steinhauser
Modified: 2009-01-18 10:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma-appletsrc (2.22 KB, text/plain)
2008-01-29 11:48 UTC, Bernd Steinhauser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Steinhauser 2008-01-29 11:46:28 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I have a xinerama setup and a panel on each screen.
When I place a systemtray widget in each panel only one of them will contain any icons.
(Normally that is the one on the second screen, but sometimes they appear also in the first one.)

It would be a cool feature if one could tell one icon to appear only in this systemtray or to appear in all systemtrays (just like you can make windows appear on one or all virtual desktops).

If that is not possible, then at least all icons should appear in all systemtray widgets, because otherwise it doesn't make sence to have more than one systemtray.
Comment 1 Bernd Steinhauser 2008-01-29 11:48:49 UTC
Created attachment 23348 [details]
plasma-appletsrc

Here is my plasma-appletsrc file, if that does help.
Comment 2 Marco Martin 2008-01-29 12:50:01 UTC
i'm not expert on X issues but given systrays icons are normal windows that are placed in systray with xembed i don't think haveing an icon in more than one systray is possible at all,
maybe something could be achieved with some hacks with compositing but thinking about it my head explodes :D
Comment 3 Bernd Steinhauser 2008-01-29 12:56:58 UTC
Hm, didn't know that.

I only knew, that KDE3 already restricts to one systray and hoped, that KDE4 would get rid of that limitation.

So if I get this right, the feature request would be to double windows, right?
BTW, I would be unhappy if this only will be possible with compositing, because on my ATI card that doesn't work, but it would be better than nothing.
Comment 4 Aaron J. Seigo 2008-01-30 05:30:30 UTC
yes, this is one of the many problems with the current system tray. i do not support hacking around the current systray with uglyness; we can close this when we get a new systray system. (ha)
Comment 5 Bernd Steinhauser 2008-02-01 16:48:14 UTC
> comment 4

Hm, do you maybe have an idea when that might be implemented?
I guess not KDE 4.1 from what I read here. :-(

What about KDE 4.2?

Or will that be a feature, that will be implemented when GNU Hurd gets released stable?

I don't want to push you, because I guess, that most users won't care about this, but a little statement would be cool. ;)
Comment 6 Jason Stubbs 2008-06-01 06:06:41 UTC
Having icon 1 in system tray 1 and icon 2 in system tray 2 is possible, but having an icon appear in multiple system trays isn't - at least not until the FDO standard is updated to support it.
Comment 7 Bernd Steinhauser 2008-06-02 00:09:02 UTC
Hm, I don't exactly get, why you need to wait for the FDO standard.
Isn't it better to implement it and then ask for standardization?
(If nobody did so yet, of course.)
Comment 8 Jason Stubbs 2008-06-02 13:54:24 UTC
What you're asking can't be done by building on the current standard as far as I know. That means that it would need to be an entirely new framework which would need to also be backed by applications as well. Even if compatibility with the existing spec could be built into kdelibs so that kde applications could continue to work in gnome, osx, windows, etc having a bug open against plasma is not the best way to coordinate such effort.
Comment 9 Bernd Steinhauser 2008-06-02 14:16:38 UTC
Ah ok, I see.

Then you might just mark this bug as resolved/later or wontfix.
I sort of lost hope, that I'll see something like this in the next few years. :(
Comment 10 Jason Stubbs 2008-06-02 14:22:25 UTC
Choosing which icons appear where is doable purely within plasma and likely useful, so will leave it open for the time being.
Comment 11 Jason Stubbs 2008-11-19 03:34:07 UTC
Multiple trays are now allowed and it is possible to specify which icons go in which tray (although the interface sucks). Furthermore, support for having an icon in more than one tray is also there. The current spec prevents making use of it though...
Comment 12 Jon Severinsson 2009-01-18 10:41:24 UTC
Not to be disrespectfull to the knowledgable people who have commented above, but I'm fairly certain it actually would be *possible* to show a systray icon in multiple systrays without making any change to applications!

My thinking is as follows: Traditional systray icons are basically x11 windows that are embedded into Plasma. Kwin can redirect X11 windows to multiple locations (alt-tabbing with composing for example). So if Kwin can do it, so can Plasma (if nothing else by creating some Kwin magic that Plasma can hook into).

Ofcourse, I have no idea how hard it would be (I know neither the internals of Kwin nor Plasma), but it should be *possible*, and it sure would be usefull for us multi-screen users...

Could someone whith knowledge of Kwin and Plasma internals please consider this idea and evaluate whether it's feasible for KDE 4.3?