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

Tray Icon / Taskbar no unread message count shown

Open CitizenDev opened this issue 4 years ago • 20 comments

My Setup

Operating System: WIN 10 PRO 1903 App Version: 2.16.2 Server version 2.0.0 Installation type: exe

  • [x] I have tested with the latest version
  • [x] I can simulate the issue easily

Description

There is never actual unread count number on tray icon (just one dot over gray icon if there are unread messages) And no unread count on taskbar

Current Behavior

No unread count on tray or taskbar icon

Expected Behavior

I've read the code and at least tray icon should show numbers from 1-9 over tray icon.

It seems that the client is detecting the system as macOS not Windows and therefore shows icons from darwin directory not win32

CitizenDev avatar Nov 14 '19 14:11 CitizenDev

I now noticed that said icons are on this location \src\public\images\tray\darwin Can someone explain why arent these used instead? \src\public\images\tray\win32

I'm definitely using Windows not macOS

CitizenDev avatar Nov 14 '19 14:11 CitizenDev

#1376

CitizenDev avatar Nov 15 '19 07:11 CitizenDev

Update: Issue still persists in 2.17.1

CitizenDev avatar Dec 12 '19 07:12 CitizenDev

@CitizenDev Just to be sure, is the Unread Tray Icon Alert setting enabled on Rocket.Chat server?

tassoevan avatar Feb 04 '20 14:02 tassoevan

@CitizenDev Just to be sure, is the Unread Tray Icon Alert setting enabled on Rocket.Chat server?

Yes. I also tested by just using open.rocket.chat server instead of my own to be sure the issue is not my server configuration.

CitizenDev avatar Feb 05 '20 08:02 CitizenDev

The same problem. The setting is not saved inside the application; after setting it to the on position, it is reset to off. image Affected only Win client.

kosmakov avatar Feb 21 '20 17:02 kosmakov

Found solution: you need to setup Require Interaction to Dismiss Desktop Notification to ON image

kosmakov avatar Feb 21 '20 17:02 kosmakov

@gabriellsh Was it an issue on Rocket.Chat's server configuration? I think we've discussed it before.

tassoevan avatar Oct 02 '20 05:10 tassoevan

@tassoevan the issue you linked is so old, I don’t remember the details anymore. All I can say is that right now with current versions we‘re disabling the „Taskbar Icon“ setting somewhere under „View“ in the client. (You need to press the „Alt“ key to see the settings. Not exactly sure how it’s called. I’m on mobile right now and can’t check.)

That leads to the client being shown in taskbar again when minimized and I think the „orange indicator“ on new messages also works this way.

johnyb0y avatar Oct 02 '20 06:10 johnyb0y

Thanks @johnyb0y. That's how it should work: hiding the window when the tray icon is enabled (true by default).

tassoevan avatar Oct 02 '20 06:10 tassoevan

@tassoevan The issue still persist in latest 3.0.2 version. I have 8 unread messages and taskbar icon still does not show the number of unread messages. This has definitely worked on versions way back. image

CitizenDev avatar Oct 06 '20 08:10 CitizenDev

@tassoevan

This is still relevant :)

CitizenDev avatar Oct 11 '21 12:10 CitizenDev

+1

MrPoint1400 avatar Apr 06 '22 03:04 MrPoint1400

On MacOS there is: image On Windows too: image The problem is that the icon is too small on the tray, that you cant see the number. I will see if there is a way to add a number like in MacOS. If not, we will need to remake the icons for it.

jeanfbrito avatar Apr 06 '22 12:04 jeanfbrito

For me the actual number appeared only after updating to WIN 11. So there might be issue related to WIN10 specifically.

Even though @jeanfbrito posted image where the number is clearly seen and it seems to be WIN10.

CitizenDev avatar Apr 06 '22 13:04 CitizenDev

For me the actual number appeared only after updating to WIN 11. So there might be issue related to WIN10 specifically.

Even though @jeanfbrito posted image where the number is clearly seen and it seems to be WIN10.

Yes, is Windows 10. I didn't like Windows 11 :)

jeanfbrito avatar Apr 06 '22 13:04 jeanfbrito

I currently don't even have the number on Mac (12.2.1) either with the latest Rocket.Chat version (3.8.2)

Screen Shot 2022-04-07 at 10 17 10 AM

thestelz avatar Apr 07 '22 14:04 thestelz

I currently don't even have the number on Mac (12.2.1) either with the latest Rocket.Chat version (3.8.2)

Screen Shot 2022-04-07 at 10 17 10 AM

Do you have unread messages? Lets investigate what is happening. Give more information.

jeanfbrito avatar Apr 07 '22 14:04 jeanfbrito

Do you have unread messages? Lets investigate what is happening. Give more information.

@jeanfbrito Yes, I had two unread messages. This is what the dock icon looks like:

Screen Shot 2022-04-07 at 10 32 08 AM

Unread Tray Icon Alert is enabled for all of my accounts

Screen Shot 2022-04-07 at 10 34 35 AM

Federation is setup for cross-company communications.

I don't mean to pollute this thread, so I can create a new issue if it doesn't pertain to this. Also, I'm not sure what the server version is as I'm not in charge of that department, but I can find out if that would also help/be useful.

thestelz avatar Apr 07 '22 14:04 thestelz

@thestelz the counter just show the number of mentions and direct messages to you. But if you have other don't read messages, it will add this dot on the icon. You can test, the number will show only for messages for you.

jeanfbrito avatar May 03 '22 15:05 jeanfbrito

I got this error on snap ubuntu 3.9.8 and now 3.9.9. Before Taskbar Tray Icon show alert about unread messages but now only sound plays and the tray icon always the same with or without unread messages...

2023-10-04_14-20

ldefabris avatar Oct 04 '23 17:10 ldefabris

I got this error on snap ubuntu 3.9.8 and now 3.9.9. Before Taskbar Tray Icon show alert about unread messages but now only sound plays and the tray icon always the same with or without unread messages...

2023-10-04_14-20

What server version?

jeanfbrito avatar Oct 04 '23 18:10 jeanfbrito

We have the same Problem with 3.9.8 and now 3.9.9 on MacOS Ventura and Sonoma. Serverversion is 5.4.10 RocketMac RocketMac 2

(notifications setup is correct) We updated from 3.8.16 to 3.9.8 for the Elektron WebP Fix and then to 3.9.9 for the VP8 Fix. As such we don't know in witch version it got broken but reverting to an old one is not a good option.

NR-THA avatar Oct 10 '23 13:10 NR-THA

I have the same problem on on MacOS Ventura and Sonoma. Additional to that the counter is not working I see a ! next to the server icon (also like in the screenshot above).

wachri avatar Oct 13 '23 08:10 wachri

How I can check my server version? Don t show on about menu...

ldefabris avatar Oct 13 '23 16:10 ldefabris

How I can check my server version? Don t show on about menu...

I do login to the Browserversion as Admin, then wit the 3 Points to "Workspace" Rocket Admin

NR-THA avatar Oct 16 '23 08:10 NR-THA