Running snaps that are refreshed lose their app running indicator in docks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
What Happened:
1) Started running vscode snap
2) Notice that in the ubuntu dock/gnome dash-to-dock that the VSCode icon appears with running indicator and that clicking on the icon switches you to the window
3) Wait for the vscode snap to be automatically refreshed
4) Notice that now the running indicator is not shown and that clicking on the icon launches a new instance (it doesn't switch to the existing window)
Note: I had vscode open in a separate workspace and didn't even know there was an instance running there for a while, as the dock icon had no running indicator and clicking on the icon launched new instances !
What I expected to happen:
As with other package managers when the package is updated the app icon in the dock should keep it's running indicator correctly. Also selecting the icon should switch to the running window rather than launching a new window. (the .desktop files seem to be in a stable folder and not versioned, eg /var/lib/
Versions:
$ lsb_release -rd
Description: Debian GNU/Linux 10 (buster)
Release: 10
$ snap version
snap 2.45.2
snapd 2.45.2
series 16
debian 10
kernel 4.19.0-9-amd64
$ apt policy snapd gnome-shell gnome-shell-
snapd:
Installed: 2.37.4-1+b1
Candidate: 2.37.4-1+b1
Version table:
*** 2.37.4-1+b1 500
500 http://
100 /var/lib/
gnome-shell:
Installed: 3.30.2-11~deb10u1
Candidate: 3.30.2-11~deb10u1
Version table:
*** 3.30.2-11~deb10u1 500
500 http://
100 /var/lib/
gnome-shell-
Installed: 65-1
Candidate: 65-1
Version table:
*** 65-1 500
500 http://
100 /var/lib/
Note that I am on an old gnome-shell, dash to dock, and snapd deb package - so if this has been fixed since please point to the fix :-)