oxen-io / session-desktop

Session Desktop - Onion routing based messenger
https://getsession.org
GNU General Public License v3.0
1.44k stars 187 forks source link

[Feature] new message badge for system tray icon #2949

Open GiantEnemyCrab opened 9 months ago

GiantEnemyCrab commented 9 months ago

Is there an existing request for feature?

What feature would you like?

I searched through past issues and noticed someone else raised the feature missing: https://github.com/oxen-io/session-desktop/issues/1759#issuecomment-1176277919

This feature request is to have badge indicator in the system tray icon in Linux. I am using Budgie desktop but I would think this would similar with other desktop environments like Gnome.

So, I tried Signal and it has that feature I want here, where number of unread message can be seen on top of the Signal icon: image

Session on the other hand does not do this yet, and after new message arrives, there is no badge indication and the icon stays the same: image

It will be great to have system tray icon indicating the new/unread message.

Anything else?

No response

keybreak commented 8 months ago

Yes we need that! :+1:

KeeJef commented 8 months ago

For Linux and MacOS looks like Electron provides an API https://www.electronjs.org/docs/latest/api/app#appsetbadgecountcount-linux-macos , for Windows looks like you might need to do something custom this issue could be a good start for investigation https://github.com/signalapp/Signal-Desktop/issues/4788