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

Show / Hide on tray icon is too slow to toggle

Open Christopher-fr opened this issue 3 years ago • 4 comments

Description:

The Hide / Show action is too slow to toggle. If you "hide" the application, you have to wait about 2 seconds for the menu item to become "Show". So, if you left-click very quickly several times in a row on the tray icon, you won't be able to display the app. Same problem if you right-click, but you have to be fast to see that the contextual menu item hasn't changed.

Combined with the fact that when you send the application to the background, you have to hide it first before you can show it again, this can become very annoying.

Steps to reproduce:

  1. Launch the application
  2. Left click quickly several times in a row on the tray icon (if the app is displayed, you won't be able to hide it. If it's hidden, you won't be able to show it)

Expected behavior:

Immediate toggle of the hide/show item when right-clicking. Immediate toggle of the action when left-clicking.

Client Setup Information

  • Desktop App : Any above 3.4.0 including latest release 3.7.7
  • Operating System: Windows 10 21H2, Windows 11 21H2

Christopher-fr avatar Feb 14 '22 16:02 Christopher-fr

@debdutdeb these should be moved to Electron repo https://github.com/RocketChat/Rocket.Chat.Electron/issues

ankar84 avatar Feb 15 '22 08:02 ankar84

Hi @ankar84 while exploring this issue I found out one more #1107 after investing time in finding where the code is but as per my level of understanding of typescript , electron, redux i have some doubts can you point me to some one in the community to ask my doubts..

vikasazad avatar Feb 21 '22 09:02 vikasazad

can you point me to some one in the community to ask my doubts..

Hello! You can ask here https://open.rocket.chat/channel/desktop I guess only @jeanfbrito can point you to right place.

ankar84 avatar Feb 21 '22 09:02 ankar84

ok thanks...

vikasazad avatar Feb 21 '22 16:02 vikasazad