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

Notification pop up appears but if clicked nothing happens

Open Ein-Tim opened this issue 6 years ago • 21 comments

My Setup

  • Operating System: Windows 10 Home 2004 (Build 19041.5722)

  • App Version: 3.0.5 - 3.1.1

  • Installation type: exe

  • [x] I have tested with the latest version

  • [x] I can simulate the issue easily

Current Behavior

If somebody sends a message and I have Rocket.Chat running in System Tray a Pop Up appears but if I click on it Rocket.Chat isn't opened.

Expected Behavior

Rocket.Chat App should be opened

Ein-Tim avatar Oct 29 '20 18:10 Ein-Tim

Not confirm that - application opens on notification click desktop-notif But @tassoevan I think, that chat from notification should be opened, but now I see last opened chat in applications, and not chat from notification.

ankar84 avatar Oct 30 '20 07:10 ankar84

@ankar84 And if you close the Rocke.Chat window completely and have Rocket.Chat only running in the background & you get a notification, is the App still opened?

Ein-Tim avatar Oct 30 '20 12:10 Ein-Tim

@ankar84 And if you close the Rocke.Chat window completely and have Rocket.Chat only running in the background & you get a notification, is the App still opened?

Yes, did try that too

ankar84 avatar Oct 30 '20 13:10 ankar84

Okay, @ankar84 Thanks! I will continue to watch and report back here 👍

Ein-Tim avatar Oct 30 '20 15:10 Ein-Tim

Okay, @ankar84 Thanks! I will continue to watch and report back here 👍

Is your issue 100% reproducible in your environment?

ankar84 avatar Oct 30 '20 16:10 ankar84

Yes it is, I wonder why it is not in your enviroment... If I click on a message from Rocket.Chat (note that this message is just an example, it also happens with "real" notifications):

image

it disappears from notification center, than I close the notification center and reopen it and the message is back... (but Rocket.Chat was not opened...)


Edit: Just tested it one minute later and with the same message it now works... Nothing changed but quitted Rocket.Chat and reopened it... (did this already before...)

Will wait for a "real" notification and report back

Ein-Tim avatar Oct 30 '20 16:10 Ein-Tim

Tested it again yesterday. Was again 100% reproducible. Clicked on the Pop Up but the App stays closed.

Ein-Tim avatar Nov 18 '20 09:11 Ein-Tim

Not confirm that - application opens on notification click desktop-notif But @tassoevan I think, that chat from notification should be opened, but now I see last opened chat in applications, and not chat from notification.

Yeap, I just experienced that too! So confirm that issue!

ankar84 avatar Nov 20 '20 04:11 ankar84

Reproduce steps.

  1. Set desktop notifications ON (All Messages)
  2. Minimize application to system tray by clicking X button in top right corner
  3. Get a mew message, click on notification.
  4. Nothing happens

So, issue is about maximizing application from system tray. @tassoevan please take a look.

ankar84 avatar Nov 20 '20 04:11 ankar84

This issue exists also in RC Desktop client version 3.1.1 (Windows). In our experience, version 3.0.7 did not have the problem.

rcadmin19 avatar Jan 15 '21 12:01 rcadmin19

@rcadmin19 Yes I also remember one version which worked...

Ein-Tim avatar Jan 15 '21 12:01 Ein-Tim

Hey, we also have this experience using the latest versions

Server 3.10.4 Client 3.1.1

Some users are clicking and nothing happens, some users get their chats opened and other users have to click the notification multiple times till it opens the window.

pascal1337 avatar Jan 22 '21 12:01 pascal1337

yes indeed, clicking on notification leads to null. Nothing opens..app is not maximazed

hkpanchani avatar Apr 01 '21 05:04 hkpanchani

Meanwhile I switched to a MacBook, using the version from the App Store and MacOS BigSur 11.2.3, I'm still able to reproduce this.

App version: 3.0.0 (shown on the App Store) - 3.0.3 (shown in Rocket.Chat)

Ein-Tim avatar Apr 08 '21 12:04 Ein-Tim

hi,

Same problem for us :-( last electron client installed

Mystikal57 avatar Jul 22 '21 07:07 Mystikal57

Has this issue been solved / If not, is it in the works? or has anyone found a work-a-round? I did see version 3.3.0 client "in the works" here https://github.com/RocketChat/Rocket.Chat.Electron/releases/tag/3.3.0 and not sure if this is addressed there?

Many thanks Shawn

techmonpiano avatar Aug 12 '21 15:08 techmonpiano

Problem seems to be resolved in 3.3 but this version is too buggy

Mystikal57 avatar Aug 12 '21 15:08 Mystikal57

Problem seems to be resolved in 3.3 but this version is too buggy

Thanks for your reply, Mystikal57!

Is there an easy way to see which lines of codes were changed to fix the notification issue?

If not, that's OK.

techmonpiano avatar Aug 12 '21 17:08 techmonpiano

I tried but it's not easy with typescript I didn't find

Mystikal57 avatar Aug 12 '21 18:08 Mystikal57

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 10 '22 16:01 jeanfbrito