Snapped applications using ubuntu launcher integration needs desktop update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libunity (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
Launching a snapped application with ubuntu launcher icon integration doesn't properly work as the desktop ID does not use the proper namespace.
Also, a snapped app could decorate other apps outside the snap scope.
[ Test case ]
git clone https:/
cd ubuntu-
snapcraft prime
snap try prime
Then launch those (you might do it from dash/activities to get proper matching):
ubuntu-
ubuntu-
ubuntu-
All these apps should get an icon in the launcher with emblems (of different values when they're launched together).
[ Regression potential ]
Application with SNAP environments could point to wrong desktop-file to decorate
Related branches
- Andrea Azzarone (community): Approve
-
Diff: 206 lines (+62/-21)6 files modifiedMakefile.decl (+1/-1)
configure.ac (+1/-1)
examples/Makefile.am (+16/-3)
examples/launcher.py (+1/-1)
examples/launcher.vala (+2/-3)
src/unity-launcher.vala (+41/-12)
- Andrea Azzarone (community): Approve
-
Diff: 221 lines (+69/-21)7 files modifiedMakefile.decl (+1/-1)
configure.ac (+1/-1)
debian/changelog (+7/-0)
examples/Makefile.am (+16/-3)
examples/launcher.py (+1/-1)
examples/launcher.vala (+2/-3)
src/unity-launcher.vala (+41/-12)
description: | updated |
This bug was fixed in the package libunity - 7.1.4+18. 04.20180207. 2-0ubuntu1
--------------- 18.04.20180207. 2-0ubuntu1) bionic; urgency=medium
libunity (7.1.4+
* UnityLauncher: Prepend snap namespace to desktop file or desktop-id
(LP: #1737835, #1747814)
-- Marco Trevisan (Treviño) <mail@3v1n0.net> Wed, 07 Feb 2018 12:31:27 +0000