** Description changed:

  [SRU] 2.73: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2132084
  
  [Impact]
  
  Desktop files for snaps have the revision number in them for the Icon
  desktop entry, e.g.:
  
  --->
  % grep Icon /var/lib/snapd/desktop/applications/firefox_firefox.desktop
  Icon=/snap/firefox/7242/default256.png
  <---
  
  If the user makes a deep copy of that file, the icon will break once the
  snap is updated enough that the revision at hand (7242) is evicted.
  
  Snapd however does set up the 'current' soft link, which points to the
  currently active revision of a given snap, e.g.:
  
  % ls /snap/firefox/* -ld
  drwxr-xr-x 7 root root 195 Okt 28 14:02 /snap/firefox/7180
  drwxr-xr-x 7 root root 201 Nov  4 16:09 /snap/firefox/7242
  lrwxrwxrwx 1 root root   4 Nov  5 15:42 /snap/firefox/current -> 7242
  
  So we can simply replace the revision number by 'current' to fix this
  issue.
  
  [Test plan]
  
- 1. Reproduce with snapd snap < 2.73
+ 1. Reproduce with snapd deb < 2.73
  
  Confirm that the desktop file for a snap contains the revision number
  for the Icon entry.
  
- 2. Prove fixed with snapd snap 2.73
+ 2. Prove fixed with snapd deb 2.73
  
  - Update Snapd to the version from the proposed pocket.[1]
  
  - Confirm that the desktop file for a snap no longer contains the
  revision number for the Icon entry, but rather 'current'. In the example
  above, that would be:
  
  --->
  % grep Icon /var/lib/snapd/desktop/applications/firefox_firefox.desktop
  Icon=/snap/firefox/current/default256.png
  <---
  
  - Make sure that the icon is still correctly displayed in your window
  manager application's menu/panel, whatever that is.
  
  [Where things could go wrong]
  
  In the icon displaying for graphical snaps. Look out especially for a
  generic icon instead of the application's icon; This should be accounted
  for by step 2 of the test plan.
  
  [1]https://wiki.ubuntu.com/Testing/EnableProposed

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

Title:
  [SRU] Favourite entry for chromium disappears with every update

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


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

Reply via email to