Public bug reported:

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/snapd/desktop/applications/code_code.desktop, so I wonder what breaks 
this).


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-extension-dashtodock 
snapd:
  Installed: 2.37.4-1+b1
  Candidate: 2.37.4-1+b1
  Version table:
 *** 2.37.4-1+b1 500
        500 http://deb.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status
gnome-shell:
  Installed: 3.30.2-11~deb10u1
  Candidate: 3.30.2-11~deb10u1
  Version table:
 *** 3.30.2-11~deb10u1 500
        500 http://deb.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status
gnome-shell-extension-dashtodock:
  Installed: 65-1
  Candidate: 65-1
  Version table:
 *** 65-1 500
        500 http://deb.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status


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 :-)

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888285

Title:
  Running snaps that are refreshed lose their app running indicator in
  docks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1888285/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to