-
Notifications
You must be signed in to change notification settings - Fork 782
[Feature Request] Notification badges on dock app icons #10124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Been searching far and wide for a solution to this but can only find this feature request, hopefully this is something that can be implemented in the future. I think this will become more important now when apps like Teams have moved to a PWA (Progressive Web App) which does not have it's own application icon tracking notifications, so today if you are using Teams PWA you need to open it up now and then to see if you have unread messages, notifications are displayed in the regular Cinnamon notifications but since everything is shown there the Teams PWA notifications are not clearly visible like they would be if the PWA icon would display a counter for unread messages. (Just using Teams as an example, this would also be very handy for other applications) |
Hope it's toggleable. |
Literally the only reason I switched away from Cinnamon. Windows has this, Mac has this, Gnome has this, Android has this, even my car has this! It's crazy to me that Cinnamon doesn't have it yet. |
Bump |
This is a feature common across all the big contemporary desktop environments (across operating systems), applications simply assume this feature exists for notifying the user about changes. Implementing it should have elevated priority. |
dash-to-dock has implementations for both the Unity API and a fallback where it counts the notifications associated with the app. I'd be happy to port them. The problem is that we already have badges that show the open window count, so someone needs to come up with a way to show both of them I can't continue. I know dash-to-dock shows the window count with dots, I don't know how Windows does it. |
Windows doesn't show the full count IIRC. If there's multiple windows, it shows a short of overlap-effect. Windows 11 apparently has a dot too, according to a quick Google search, but it isn't used to reflect the count. It just shows that there are multiple windows, not many, from what I can tell. I've never used Win11 though (and I have no desire to), so might be wrong. But there is only one dot for three windows in an image I found on google, so it seems unlikely that it's used to count |
Another option would be a 3-dots icon in the bottom-right, or just moving the count there and styling it differently |
If the window count is a black circle on the top left, why can't the notification count be a red circle on the top right? |
Just put the badge and window count in separate corners. Seems simple to me. |
Sounds like a good idea to me, also color code them? Blue for window stack and red for notification counter maybe? Hopefully the user could be allowed to change the color as well if it's not to much hassle, no developer myself so only coming with suggestions. |
Maybe the line could be changed to dots on the bottom? |
Sure on icon's that small it would certainly be very hard to fit in 2 counters / "dots", I guess everything could be made smaller but at some point it becomes unreadable I guess, right now I don't have a good suggestion how to implement it and have it work on icons that small. Maybe anchor points for the notification dots could be configured to be in all 4 corners? Then you could have window count in bottom left and notification count in upper right? |
If there has to be only one number, I'd rather it be the badge count. I don't think the precise number of windows is all that useful as long as I can see the difference between zero, one, and more. OTOH, I have very different reactions to having one Slack message and having one hundred. |
I agree, notifications are at least to me much more important than how many windows there are. |
+1 for not needing a window count (although I do think the Windows solution to showing that there are multiple windows under one icon is fairly elegant). It's much more intuitive to show me unread message count or other status badges. |
Just put both and make both toggleable! |
Notification badges is really missing feature. Hope it'll be available in future versions of cinnamon. |
If the badge is not possible then maybe highlight the app icon in the taskbar with a background colour indicating that there are unread messages that needs to be checked. Anything visual to differenciate those apps. |
Hi, is there any update on this? This has been a request for a while and as others have said this is pretty much a necessary feature with the direction apps are going. It's really important to be able to see notifications when they appear, and this has been a requested feature for a good few years now. Agree with all others who have said badges are more important than window count, genuinely have never had a use case where I've needed to know exactly how many windows are open. Also agree with comment just before me saying that even just a highlight to say there's activity if the graphic is the limitation. |
Haven't had time to implement it, although it probably shouldn't take long as long as:
This will probably be confusing for the majority of users first, so I also need to change how the badge looks. Still, I don't know when I have time to get around to it. |
Don't remove the window count! |
Thank you - really appreciate it! If there are people concerned about losing the window count then some sort of toggle is the way forward longer term, or even a manual fix to apply badges as a stopgap might work. Badges are a pretty core feature, but don't want that to lead to worse experiences for people who like how it is now. That being said, I'm sorry to say I think it will be a minority that prefer window count to badges, especially since that's the standard with most other systems now. |
Thank you Gr3q, the only reason I have moved back to Windows is because of this feature not available in Linux Mint. If I am AFK for sometime and when I am back looking at the apps in the taskbar it is not possible to see if there were messages that have been sent to me while I was away. I use Google Chat and Slack. If this is implemented that would be awesome. |
I agree, move it to another place on the icon, like bottom right, and add the notifications on top left where the window count is. |
The lack of badge notifications is currently the main thing preventing me from using Cinnamon. So much modern day software relies on this, and it's far less obtrusive than pop-up notifications. Especially in the case of communication software, where all you need is a little indicator that you've received a message; instead, in Cinnamon, all you can do is either forego any indicator and hope you don't miss anything urgent for hours or be spammed with a wall of pop-ups when someone starts messaging you. I feel like badge notifications should be high priority. The lack of it makes Cinnamon a hassle or downright unusable for so many people. |
I had to leave Mint because of this. GNOME in Ubuntu mostly has this.
…On Fri, Apr 18, 2025 at 4:26 PM Icey-Wicey ***@***.***> wrote:
The lack of badge notifications is currently the main thing preventing me
from using Cinnamon. So much modern day software relies on this, and it's
far less obtrusive than pop-up notifications. *Especially* in the case of
communication software, where all you need is a little indicator that
you've received a message; instead, in Cinnamon, all you can do is either
forego any indicator or be spammed with a wall of pop-ups when someone
starts messaging you.
I feel like badge notifications should be high priority. It makes Cinnamon
a hassle or downright unusable for so many people.
—
Reply to this email directly, view it on GitHub
<#10124 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKKZABB62SRSSQ6H6BY2N2L22F323AVCNFSM452WHVT2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEOBRGYZDQNJZGA4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
*Icey-Wicey* left a comment (linuxmint/cinnamon#10124)
<#10124 (comment)>
The lack of badge notifications is currently the main thing preventing me
from using Cinnamon. So much modern day software relies on this, and it's
far less obtrusive than pop-up notifications. *Especially* in the case of
communication software, where all you need is a little indicator that
you've received a message; instead, in Cinnamon, all you can do is either
forego any indicator or be spammed with a wall of pop-ups when someone
starts messaging you.
I feel like badge notifications should be high priority. It makes Cinnamon
a hassle or downright unusable for so many people.
—
Reply to this email directly, view it on GitHub
<#10124 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKKZABB62SRSSQ6H6BY2N2L22F323AVCNFSM452WHVT2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEOBRGYZDQNJZGA4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Adding another vote! This is one of the only things that's missing for me. |
honestly i think cinnamon is one of the only desktops that is missing this feature |
@Icey-Wicey @memarkham303 @Kruemmelkeks @ask-compu There is an open PR for this. In the meantime, you could test the modified gwl applet I linked above if you like. |
Thanks for the heads up, I noticed the PR after my comment :) I already set up your modified applet. For Signal I receive the message popup on the lower right corner, and I also get an entry in my notifications (bell symbol next to the clock, popup is already dismissed here). For Telegram I do get the popup as you can see, but no entry in the notification center (bell symbol right next to the clock does not appear). But the app is highlighted with red background. Discord is pretty much identical to Signal. I do get the notification in the notification center (bell on the very right side), the Discord icon in the applet section shows the red dot for an unread message, but no notification badge on the window itself. Not really sure why these applications behave like they do and if something might be related to the missing notifcation badge. But that's a least not what I expected. //EDIT: Fixed typo. //EDIT2: Just noticed I could set the option in to highlight the app in Signal itself. |
a bit worried testing applets could make my cinnamon desktop unstable |
i can confirm telegram and discord show notification badges on KDE, so the apps themselves support it |
@Kruemmelkeks Sorry, I forgot to mention that you need to restart cinnamon as well (I've edited my comment). The badges on the app icons show the standard desktops notifications, same as the notifications applet (bell icon). As soon as you click on the app icon with the badge, the badge will disappear but will still show in the notifications applet (bell icon). |
Thanks! I acutally tried restarting Cinnamon yesterday, as one other user mentioned it had to be done. Tried again now after the computer was shut down for the night. But still no luck. Thunderbird is fine, just as I mentioned before. But neither Telegram nor Signal show any badges. Didn't test Discord again. The Telegram notifications seem to work differently than Signal and Discord. There is still not entry in the notification center, and the popup remains open until I manually dismiss it - other notifications simply get dismissed after the timeout. Tried both the telegram notification setting and using the native system notifications (see screenshot below). So I don't know what's up with that one, it might be app-related. Anything else I could provide to help digging into that? //EDIT: Just noticed Vivaldi does not have any badges as well when a download finishes in the background. The notification goes into the notification center correctly. |
@Kruemmelkeks Looks like Telegram uses it's own notification system so those notifications won't register with cinnamon's notification system. I tried vivaldi and discord app, they both seem to work OK for me, so not sure what's happening there. I can't test signal but you say the notification appears at bottom right, if notifications normally appear at top right, then signal would be using it's own notification system as well. This would also seem to be the case because in your previous screenshot, the signal panel icon is highlighted with red background. I can't test telegram either so I don't know why "Use native notifications" isn't working there. |
why not use the existing API that every other desktop uses for the notification badges? |
I definetly think you are right about Telegram, they seem to be using their own implementation. And the notifications are always on the bottom right on my system, that's how I configured it. So that's fine. But I'm not sure if I understand your response correctly. I thought the Applet simply takes the notification from the notification center and transforms it into a badge, which is then displayed on the app icon. So when a notification appears in the notification applet, it should be good. Or does it work differently "under the hood"? |
@ask-compu Yes, cinnamon does use the same XDG desktop notifications spec that all the other linux DEs use. Some apps will do their own thing and display their own notifications (Telegram, steam, etc) but there's no way for the DE to know about these because they're not part of any standard. |
@Kruemmelkeks Yes, you're right. Notifications are handled by cinnamon in the background ( |
that's not the same thing, in KDE u can have no notifications in the notification tray and still have notification badges for unread messages, the badges don't just count notifications, there's an API to let the program set the number |
I see. Thanks for the explanation! I am no expert, but maybe I’ll try to gather some debug information tomorrow. Maybe we can find out what’s happening (or not happening) there. |
@fredcw I did some tests and found something. But I'm not sure what to do of it. I added some debug logging to the notifcationReceived-Function in the workspace.js: And this is what I found in LookingGlass: I did some tests with Thunderbird, Signal and Vivaldi. But for every App except Thunderbird the AppId is empty, thus the if-structure is executed performing an immediate return. Any idea why that happens? If you need more information/logs I can if course try to help out. //EDIT: Replaced code with screenshot for better readability. |
my understanding (could be wrong) as that most stuff still uses the ubuntu unity APIs for things like notification badges https://wiki.ubuntu.com/Unity/LauncherAPI#Count |
I dont know how "they" (zap zap) do it, but zap zap (whats-app for linux) has a system tray icon AND this shows a red-white number for new messages. |
@Kruemmelkeks Thanks. It seems that there's no Edit: I found a solution for flatpaks:
I've updated the gwl.zip link above.
Thanks, I'll look into that. |
@fredcw Thanks for the update! I quickly tested it, Vivaldi now shows the notify badge correctly. |
@Kruemmelkeks Thanks. How did you install discord? Is it a flatpak, what distro are you using? |
this reddit comment seems to be pretty informative about how notification badges work on other desktops https://www.reddit.com/r/kde/comments/1de0019/notifications_badges_on_icons/l88kcsy/ it seems to confirm that the ubuntu unity API is the way to go |
Yep it's flatpak, installed via the Cinnamon Software Manager. |
I finally managed to do some debug logging. Sorry for the delay. The problem seems to be that your updated code is looking for a string
//Edit: As this is getting more technical on your proposed solution we can also switch over to your PR for further discussions. Don't wanna spam the comments section of this feature request unnecessarily. |
@Kruemmelkeks I found an easier solution but I can't provide the applet for testing because it changes system files. I've updated the PR. Discord flatpak and vivaldi flatpak work fine, and signal and Telegram change the background color of the icon, so that's not a problem. Most flatpak apps seem to work by default, though I found a few exceptions (just browsers). |
implemented the unity API? also oooh the background color change is something even KDE is missing |
@ask-compu The unity API looks like it might be worth doing but tbh, adding that to cinnamon is a bit above my pay grade, I wouldn't even know where to start. In any case, this simple counting of desktops notifications would still need to be done for all the apps that don't support the unity API. |
i found the part of KDE that implements the unity API for notification badges and progress bars on the taskbar app icons https://github.com/KDE/plasma-desktop/blob/f40a2ea0fe562bbda7573d69ccd529bd54afb51e/applets/taskmanager/smartlauncherbackend.cpp#L67 |
In Cinnamon Desktop, apps that usually work with notification badges for unobtrusive indication of e.g. unread messages or ongoing processes (see screenshot below) do not show these badges. Tried with Mailspring, Discord & Gmail via nativefier. With Ubuntu/GNOME they do work.
My current configuration (some days ago) is as follows, in case it is important: https://termbin.com/qt8s
It would be great if these indicators could be implemented as in my regular workflow, notifications tend to be dismissed whereas icon badges stay visible.
The text was updated successfully, but these errors were encountered: