! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
allow multiply instances of systray panel plugin
Status:
RESOLVED: WONTFIX
Severity:
enhancement
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Leonid Evdokimov 2008-02-26 16:25:39 CET
It would be nice to have two (three, four, five...?) instances of tray plugin.
Why? I would like to have one tray instance per every panel and one panel per every monitor when I use xinerama.
Comment 1 Nick Schermer editbugs 2008-02-26 17:08:46 CET
Not possible. The system tray has to register with X to handle tray events and only one application can handle this at a time.
Comment 2 Leonid Evdokimov 2008-02-26 19:40:37 CET
Isn't that possible to draw two "trays" using same application or split tray plugin to tray event handler that acts as "proxy" and "clients" that operate on tray events through "proxy" ?
Comment 3 Nick Schermer editbugs 2008-02-26 20:09:47 CET
That will make the plugin very complicated and buggy. Tray 'icons' are actually remote windows embedded in the systemtray. So to allow multiple trays, we should make screenshots of the remote window, send that to the 2nd systemtray and pass events back from the 2nd tray to the embedded window.

This will be very resource consuming since the shots should be made at an interval of 1 second (for example), because we can't monitor the remote window for changes. The event part will also be hackish...
Comment 4 Leonid Evdokimov 2008-02-27 10:31:37 CET
Resource consumption may be decreased using something like XDamage, but I agree that plugin will become much more complicated.

Bug #3881

Reported by:
Leonid Evdokimov
Reported on: 2008-02-26
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information