RocketChat / Rocket.Chat.Electron

Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
https://rocket.chat/
MIT License
1.59k stars 704 forks source link

hide/show on tray icon #1107

Open localguru opened 5 years ago

localguru commented 5 years ago

My Setup

Description

With the installation of version 2.15.0, the application can no longer be fetched to the foreground with a single click, rather two clicks are necessary, on the icon in the tray and then on "show". Personally, I find this unmanageable; one unnecessary click.

Besides, this is unusual behavior. None of the application in my tray react like this, just a click for foreground or background.

Current Behavior

One click on the tray icon -> then "show" to bring the window to the foreground.

Expected Behavior

Just a single click on the tray icon to bring the window to the foreground or move it to the background.

tassoevan commented 5 years ago

I'm surprised that the previous versions worked fine on Xubuntu. According to Electron docs:

When app indicator is used on Linux, the click event is ignored.

Which is the standard on Ubuntu 18.04. Is it possible that some GTK component was upgraded too?

localguru commented 5 years ago

@tassoevan I had no problems with all Electron versions since I change to XUbuntu over a year ago.

localguru commented 5 years ago

After a few days it's really a bit annoying when you have to click on the tray icon twice each time you want to open the client.

rc_tray

tassoevan commented 5 years ago

I just confirmed that 2.14.7 was triggering the click event. I'm still checking what have changed besides the update from Electron 2 to 4.

tassoevan commented 5 years ago

Removing libappindicator3-1 restored the old behavior, but it's a critical dependency for Xubuntu...

tassoevan commented 5 years ago

https://github.com/electron/electron/issues/14941

localguru commented 5 years ago

yes, this is duplicate to #14941. I will close this issue.

localguru commented 5 years ago

Ah, that is the electron repo, reopend it.

oceanBT commented 5 years ago

I have the same problem in ubuntu 18.04 with gnome 3.28.2. (rocket.chat 2.15.0)

psy commented 3 years ago

Any news? Seems like the behaviour didn't change (or is broken again)? Also mentioned in #1560

araujorm commented 3 years ago

Client is unusable for me past 2.14.7 because of this. Are there any plans to fix, or should one give up hope?

jeanfbrito commented 2 years ago

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.

Thank you!