Element-web: Click on tray icon to bring to front does not work on Linux

Created on 29 Oct 2018  路  17Comments  路  Source: vector-im/element-web

Hi

Please add the single click on the tray icon to bring the main window to front.

This is such a big issue for elderly people. Please imagine elderly person trying to open the main Riot window via the tray icon, this is so painful for people with vision or joint pain issues using the mouse. It would be nice if a single click would just bring the window to the front.

thanks

bug p2 platform specific minor electron

Most helpful comment

Please :(

All 17 comments

Not only for old people, I鈥檓 a young guy and I find this pretty annoying not to be able to use the tray icon to show and hide the window. This is a regression.

Within a KDE environment you have 2 single clicks to bring up the main Riot window (when closed).
When clicking on the tray icon (left or right mouse button) I get the option: Show / Hide Riot

@preemeijer So this issue occurs in Gnome. Something I have noticed: when starting Riot, the system tray shows up but Riot鈥檚 icon is empty. Clicking on this empty place shows / hides Riot. After hiding and showing again the system tray, Riot鈥檚 icon is OK, but clicking on it does nothing.

I have Gnome Shell 3.24.3.

I use Lxpanel under Fluxbox. Every other tray icon works with a single click, Riot's icon brings a pulldown menu with show/hide, close when clicked on the icon

Please :(

Glad I'm not the only one annoyed with this.

Same problem with Awesome WM and XFCE.

This issue looks like it is the same as #7553. I would also like to have this fixed :).

Edit:
Ok, so crawling the issue list brought more similar bugs (#6767).
As a workaround, removing appindicator for gtk3 should fix the issue and (not sure if I understood this part right), a new electron version might also fix it.

@Flakebi

I don't think the proposed solution works for this like setting XDG_CURRENT_DESKTOP

They might be talkign about something else

Yes, I can confirm that. I use Riot on Debian Stretch with Gnome Shell and the Riot Icon in the Tray shows up but it's useless, I cannot click on it to bring Riot back.

Joplin uses Electron and that one has no issue with it.

Same issue, in Debian stretch Kde the tray icon appears very small and doesn't work when cliking on it.... any idea how to fix it?

Think #7553 and #7624 could be closed for now: works fine if libappindicator3 (libappindicator-gtk3) not installed. Unlike #6767 and #8819 (icon look) should be reopened and fixed: stopped to work even if I run with Exec=XDG_CURRENT_DESKTOP=Unity riot %U. For now icon looks like blank black square in KDE which is weird. I think local electron version used to build riot should be manually patched like Skype done previous year, where icon looks good for now with whatever appindicator is used or not, Unity desktop set or not. Otherwise we can wait too long it will be fixed in Electron. Makes sense?

" works fine if libappindicator3 (libappindicator-gtk3) not installed"

Not true I do not have that file, and I unintalled the appindicator lib and still does not work, at least on Debian Buster

Hmm, works for me in KDE, openSUSE. Actually libappindicator-gtk3 is a dependency for many Gnome, GTK3 apps, if not all. Could have different name in Debian or built-in some other package.

Ok thanks I will take a look at it. I am using Xfce

Was this page helpful?
0 / 5 - 0 ratings