Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Suggestion: Double-click the try icon and show up the program #6

Open
BoQsc opened this issue Nov 2, 2019 · 5 comments
Open

Suggestion: Double-click the try icon and show up the program #6

BoQsc opened this issue Nov 2, 2019 · 5 comments

Comments

@BoQsc
Copy link

BoQsc commented Nov 2, 2019

It would be nice that quickly double clicking a try-icon: would bring the program to the top among windows.

Also:
When the program that has tray icon is shown: the action of double-click should lead to closing the program to tray.

@zhangkaizhao
Copy link
Owner

Hi @BoQsc Have you tested if the current version already works as your expectations? I have just tested it and confirm that on Arch Linux/GNOME Shell 3.34.1. Please let me know if it does not work the way you expected. Thank you.

@BoQsc
Copy link
Author

BoQsc commented Nov 3, 2019

Seems to not work for Linux/Ubuntu 19.10 | Gnome 3.34.1

Test subject: Valve Steam Tray Icon Screenshot from 2019-11-03 09-15-25

At first I tried the latest version from https://extensions.gnome.org that is for 3.20.2 Gnome-Shell version.

Later, I also I tried to use the one from your repository, directly icons/blob/master/extension.js

Neither did work.
The Steam program does not show up as expected

Instead the context menu is being opened and closed.

Here is a short screencast to show exactly what I mean:

  • I click the Valve's Steam Icon
  • A Steam context menu opens up
  • I click again the context menu of the Steam Icon closes
    Screencast from 2019-11-03 09_18_51
vaidas@vaidas-SATELLITE-L855:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 19.10
Release:	19.10
Codename:	eoan
vaidas@vaidas-SATELLITE-L855:~$ gnome-shell --version
GNOME Shell 3.34.1

@zhangkaizhao
Copy link
Owner

Hi @BoQsc ! The tray icons of qt5 applications e.g. Zeal, GoldenDict, etc. works just fine, but the tray icons of gtk2/gtk3 applications e.g. aMule, Audacious, HexChat, Zulip, etc. seems like all have the same issue. And the Steam applications is a gtk2 application. I am afraid I can do nothing about this issue.

@BoQsc
Copy link
Author

BoQsc commented Nov 3, 2019

Hi @BoQsc ! The tray icons of qt5 applications e.g. Zeal, GoldenDict, etc. works just fine, but the tray icons of gtk2/gtk3 applications e.g. aMule, Audacious, HexChat, Zulip, etc. seems like all have the same issue. And the Steam applications is a gtk2 application. I am afraid I can do nothing about this issue.

Thank you for making the effort to test this issue. I would suggest leaving this Issue open since it can not be resolved by the project itself. I'm clueless on what should be done as well.

There is little hope, but maybe reporting this issue downstream could help in the long run.
https://gitlab.gnome.org/GNOME/gtk/issues
https://gitlab.gnome.org/GNOME/gnome-shell/issues

@diogobaeder
Copy link

Indeed it happens to some icons only - e.g. Rambox and Slack - but others work fine - e.g. Zoom and Evolution. I haven't checked which GUI framework they use, but I trust your judgement about the qt/gtk discrepancies. (Just wanted to share some more cases here.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants