Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

hide/show on tray icon

Open localguru opened this issue 5 years ago • 12 comments

My Setup

  • Operating System: Xubuntu 18.04 LTS
  • App Version: 2.15.0
  • Installation type: deb 64bit
  • [x] I have tested with the latest version
  • [x] I can simulate the issue easily

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.

localguru avatar Feb 25 '19 22:02 localguru

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?

tassoevan avatar Feb 26 '19 01:02 tassoevan

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

localguru avatar Feb 26 '19 11:02 localguru

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

localguru avatar Feb 28 '19 16:02 localguru

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 avatar Mar 07 '19 20:03 tassoevan

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

tassoevan avatar Mar 07 '19 20:03 tassoevan

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

tassoevan avatar Mar 07 '19 20:03 tassoevan

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

localguru avatar Mar 09 '19 10:03 localguru

Ah, that is the electron repo, reopend it.

localguru avatar Mar 09 '19 10:03 localguru

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

oceanBT avatar Mar 15 '19 09:03 oceanBT

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

psy avatar Jul 24 '21 15:07 psy

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

araujorm avatar Sep 30 '21 13:09 araujorm

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!

jeanfbrito avatar Jan 11 '22 23:01 jeanfbrito