When running in unity8 desktop snap, snap application icons aren't found in app scope
Bug #1639952 reported by
Michael Terry
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Committed
|
High
|
Pat McGowan | ||
Snapcraft |
Confirmed
|
Undecided
|
Unassigned | ||
snapd |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-app-launch (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm testing the unity8 desktop snap (with silo 2129's fixes) and any installed snap does show up in the Apps scope. BUT the icons all use the default fallback icon.
I'm guessing somewhere along the way the "${SNAP}" in the snap's desktop files gets incorrectly resolved with the unity8 environment's value of $SNAP (instead of the snap's install path)? Not sure though.
Related branches
lp://staging/~ted/ubuntu-app-launch/snap-icon-unbreak
Rejected
for merging
into
lp://staging/ubuntu-app-launch
- dobey (community): Disapprove
- unity-api-1-bot: Needs Fixing (continuous-integration)
- Michael Terry: Approve
-
Diff: 40 lines (+30/-0)1 file modifiedlibubuntu-app-launch/application-impl-snap.cpp (+30/-0)
lp://staging/~dobey/ubuntu-app-launch/snap-icon-unbreak
- Ted Gould (community): Approve
- unity-api-1-bot: Approve (continuous-integration)
-
Diff: 176 lines (+87/-6)5 files modifiedlibubuntu-app-launch/application-icon-finder.cpp (+12/-0)
libubuntu-app-launch/application-impl-snap.cpp (+30/-0)
tests/applications/foo.desktop (+1/-1)
tests/applications/single.desktop (+1/-1)
tests/libual-cpp-test.cc (+43/-4)
description: | updated |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Pat McGowan (pat-mcgowan) |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: personal |
Changed in canonical-devices-system-image: | |
milestone: | p1 → p2 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I suspect it's probably not an issue with $SNAP being resolved. The "URL" for the icon of installed apps comes from ubuntu-app-launch. There's also the case where things in the store have icons, but they don't necessarily have an icon defined in the .desktop files, or it's pointing to the wrong thing. This issue is not in unity-scope-snappy though, but I am not yet sure where to move the bug.