I had a look around and couldn’t find an open bug that matches this exactly. Worth filing one on ubuntu/app-center I think.
From what I can tell the dock doesn’t know anything about snap updates on its own. It only shows whatever count the app sends over D-Bus (com.canonical.Unity.LauncherEntry), and when there’s no count it falls back to the GNOME notification count. So either App Center isn’t sending anything, it’s sending under a desktop ID the dock doesn’t match for the snap, or the dock loses the badge on lock/unlock. That last one got reported on 26.04.1 for another app (hyprlab/hylki #353), the dock gets disabled when the screen locks and forgets every badge.
Easy way to tell which one it is, run this while an update is actually pending:
then open and close App Center, and also try a lock/unlock. No signals at all means App Center isn’t sending. Signals but no badge means the dock side or the desktop ID. Keep in mind snapd refreshes in the background so the pending window can be pretty short.
Post what you get plus gnome-shell --version and the ubuntu-dock package version and we can narrow it down..
Also worth confirming a dock extension is actually running (gnome-extensions list --enabled | grep -i dock), since stock GNOME Shell doesn’t draw these badges by itself. Ubuntu Dock and Dash to Dock both do.
You will only get such notifications for actively running apps (i,.e. firefox) but not for daemons that are set up to simply automatically restart (i..e. snapd) … and that notification will not be in some counter on the dock, it will only be a normal desktop notification asking you to close the app
snap list firefox
Name Version Revision Tracking Herausgeber Hinweise
firefox 157.0.1-1 9036 latest/stable mozilla
When opening app-center it now shows three updates, but there were no notifications
Before it displayed five updates, two were installed in the meantime.
snap changes
ID Status Spawn Bereit Zusammenfassung
43 Done heute um 17:16 CEST heute um 17:16 CEST Snaps automatisch auffrischen: “canonical-livepatch”, “cups”
Both have been installed automatically in the background
snap refresh --time
timer: 00:00~24:00/4
last: heute um 17:16 CEST
next: heute um 19:45 CEST
snap refresh --list
Name Version Rev Size Publisher Notes
chromium 155.0.8059.79 3559 194MB canonicalâś“ -
firefox 158.0-2 9057 298MB mozillaâś“
Opened a new topic about not showing update notifications in general. Again app-center does not display notification although management shows updates for firefox and chromium.