-
Notifications
You must be signed in to change notification settings - Fork 282
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
Enable notification badges #1803
base: master
Are you sure you want to change the base?
Enable notification badges #1803
Conversation
Please keep in mind that in the latest Ubuntu 22.10 for some applications the notifications (and the badges of course) will not go away automatically when you read them/open the app which posted them. I played around with my mods but was not able to fix it. I disabled the DashToPanel extension and it was still happening. So, I think this might be some issue with the OS itself as for these apps the notifications still stay in the system tray even you have read them until you click on the clock and then select 'Clear'. This is happening with Teams for me. Google Chrome and its chat app do not have this issue. |
@vaskion , @ibauersachs
|
Definitely not working on my end.
Thanks a lot for looking into this! Unfortunately this mod does not work on my end. I am still getting "Open is ready" notifications from VSCode. Teams notifications are still persistent in the system tray and the app badges stay on the panel until I hit clear in the system tray. Extremely annoying... Seems like an OS issue to me. |
I need to register Teams account for a test. On Ubuntu 22.04 for me "Window is ready" wasn't counted in any app yet (not sure how to trigger it with VSCodium though). Today few times had a problem with "Google Chat" PWA. Notification wasn't present on a message tray but badge still didn't go away until I cleared all notifications. Also once Google Chat PWA didn't receive badge until I deleted one of the notifications. Maybe some events got skipped, still testing... |
Note that the Teams app is deprecated, the "replacement" is just Edge with Teams as a PWA. Thus any website or PWA from Chrome/Chromium/Edge should expose the same behavior. |
For some reason |
Yeah, try the 22.10. This happened after I installed the update. Maybe it is because I updated and did not do a clean install. Before that I have no issue with my original mod - it was working perfectly! I had to install the update though because I had some issues with the network which are now solved. So, it seems they fix something but break something else. P.S. I am experiencing some other issues with this update as well - some buttons and menus are not rendered correctly and when I go with the mouse pointer over some items they got repainted and overlap with the others. Extremely ugly... This is the most immature and buggy OS I have ever seen so far... |
I'm waiting for this feature .. |
Can confirm this works well with 22.04. Can't comment on 22.10 |
Could you rebase this branch? Looks like it is over 100 commits behind upstream. |
I'll have a look. But I need to address @xalt7x comment. As it is now, it either doesn't work or shows the badge on the wrong app (e.g. if running Outlook and Teams as Chrome/Edge-based PWA, it may show the notification on any running Chrome/Edge app in the panel). |
TLDR: Developers might figure out some workaround but that's probably more of an upstream Chromium issue.
|
434cc70
to
f68b2af
Compare
I've updated the implementation to
The issue that with Chrome/Edge is that the first launched instance is always then one that sends the notifications. The app-id of the normal browser is e.g. |
@ibauersachs Thanks a lot for looking into this! |
@vaskion Is that the (deprecated) Teams app or via PWA? |
@ibauersachs I am not sure what you mean by PWA, but I am using a separate application I installed more than an year ago and not the web application inside Chrome or other browser. So, I guess it would be the deprecated thingy. |
@vaskion |
@xalt7x Yeah, very much seems like this one but it happens only with MS Teams so far. Anyways, I have given up from making the badge thing work on Ubuntu... I think I read somewhere that on Ubuntu 24.something the badges are already integrated in the OS itself but they ruined something else I use. Seems like one step forward, two steps back... |
is working in this one: https://github.com/micheleg/dash-to-dock |
I'm noticing the missing notification counter badges mentioned in #1695 as well. This PR is based on the patch from @vaskion, but omits the animation changes.