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

Feature request: toggle steam window on left click of system tray #4836

Open
Hi-Angel opened this issue Jan 28, 2017 · 6 comments
Open

Feature request: toggle steam window on left click of system tray #4836

Hi-Angel opened this issue Jan 28, 2017 · 6 comments

Comments

@Hi-Angel
Copy link

Hi-Angel commented Jan 28, 2017

Apps with ability to close to tray — e.g. viber, kmail, vlc, pidgin, kmix, etc — are commonly shows menu only on right-mouse click, and (un)hide (from)to system tray on left-click.

Would be great if steam would (un)hide to tray on left-mouse click either. ATM steam just shows menu for any of clicks.

@kisak-valve
Copy link
Member

kisak-valve commented Jan 28, 2017

Hello @Hi-Angel, if I'm reading this correctly, you're asking for the left click action of the steam tray icon to toggle the main steam window frame, is that correct?

I'm not sure libappindicator is capable of this behavior.

@Hi-Angel
Copy link
Author

@kisak-valve yes.

@kisak-valve kisak-valve changed the title Feature request: close to tray on left mouse click Feature request: toggle steam window on left click of system tray Jan 28, 2017
@kisak-valve kisak-valve assigned ghost Jan 28, 2017
@cjwijtmans
Copy link

"Unity shows popup menu on left click; Plasma triggers activation, which is why apps that use standard libappindicator do nothing on left click in Plasma."

https://aur.archlinux.org/pkgbase/libappindicator-activate/?comments=all

@kitsunyan
Copy link

libappindicator doesn't support "primary activate" action which is triggered on left click in KDE. But it supports "secondary activate" action, I guess it's triggered on middle click.

Some distributions like Arch Linux provide a patched version of libappindicator which binds "secondary activate" action to both secondary and primary activation.

So I think it will be a good idea to at least implement this feature using app_indicator_set_secondary_activate_target. So at least middle click will show/hide steam window. And for some distributions it will work even better. I don't think there is possibility to implement it better than this way.

@Programie
Copy link

Other applications which are using libappindicator have the possibility to have different actions on left and right click. So it should be no problem to implement it in Steam as well?

For example Gajim uses libappindicator and toggles the main window with a left click. On right click a menu is shown. I would expect the same behavior in Steam as well.

@martinpl
Copy link

If someone need workaround on GNOME 3.36:
https://extensions.gnome.org/extension/2890/tray-icons-reloaded/

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

6 participants