Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG?] tray_output could not display on multiple monitors? #1226

Closed
i3bot opened this issue Apr 15, 2014 · 10 comments
Closed

[BUG?] tray_output could not display on multiple monitors? #1226

i3bot opened this issue Apr 15, 2014 · 10 comments
Assignees

Comments

@i3bot
Copy link

i3bot commented Apr 15, 2014

[Originally reported by chen.bill.bill@…]
(Hi,

I am not sure whether it is a bug or not, maybe it is working like its design.
Here is a bug report or just a feature request, it depends on the origin design.

First, show the features I like. I would like to show the bottom bars on every monitor, with the tray icons in every bar.
That means I would like to set my config file as below:

bar {
    position bottom
    output LVDS
    output VGA-0
    tray_output LVDS
    tray_output VGA-0
    # And more other settings...
}

The bars are correctly displayed both on LVDS and VGA-0. But the tray is ONLY displayed on VGA-0.

If it is a bug, is it possible to fix it?
If it is not a bug, how to make the trays are displayed on both monitors or even more.

Thanks very much!!!

@stapelberg
Copy link
Member

Due to the way the tray works in X11, you can only display each tray icon precisely once.

Therefore, we cannot fix this limitation, sorry.

@wizpig64
Copy link

@stapelberg This may be a silly question, but would it be possible to have the tray follow the cursor, moving to whichever monitor has focus? And then screenshot the tray to make dummy icons on the non-active monitors?

@Airblader
Copy link
Member

Possible, but hacky. I doubt that we would merge such a patch. It also comes with the problem that tray icons can change at any time and a screenshot would not be able to correctly mirror this.

@stapelberg
Copy link
Member

We definitely won’t do that. It sounds very unclean to me, and adding support for mouse clicks and the like would be a lot of effort.

@wizpig64
Copy link

Alright, just a thought. Thanks.

@mabbamOG
Copy link

mabbamOG commented Jul 1, 2016

What about having the tray active on the currently active workspace?
This way wherever you are working, whichever monitor, you can always look down and check the tray.

@Airblader
Copy link
Member

I think that kind of effort should just go into #2088 instead.

@mabbamOG
Copy link

mabbamOG commented Jul 1, 2016

Will that allow i3 to display the tray on multiple screens at the same time?

@Airblader
Copy link
Member

Yes

@mabbamOG
Copy link

mabbamOG commented Jul 1, 2016

Sounds good 👍
It might even fix the icon-background-color (in tray area) glitches i've been having when reloading the bar on an other monitor

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants