Unity 8 does not honor Path= in desktop files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-mir |
Fix Released
|
High
|
Gerry Boland | ||
qtubuntu (Ubuntu) |
Fix Released
|
Undecided
|
Michał Sawicz | ||
unity-mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Click packages use Path= in desktop files and its use is an important part of how click packages work.
For example, this works in Unity 7:
Exec=aa-exec -p com.ubuntu.
Path=/opt/
but in Unity 8, Path= is not honored and qmlscene can't find backend/modules or app/evilapp.qml and the desktop file needs to be adjust to use:
Exec=aa-exec -p com.ubuntu.
Path=/opt/
Click shouldn't be transmogrifying the paths in Exec= (and currently doesn't), so application developers need to hard code the path in the Exec= themselves, which we should not be doing because click can be configured to use a different top level directory than /opt/click.
Related branches
- Sergio Schvezov: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 78 lines (+19/-7)2 files modifiedsrc/modules/application/application_manager.cc (+15/-5)
src/modules/application/application_manager.h (+4/-2)
- PS Jenkins bot (community): Approve (continuous-integration)
- Michał Sawicz: Approve
-
Diff: 90 lines (+20/-9)3 files modifiedsrc/modules/Unity/ApplicationManager/application_manager.cpp (+12/-4)
src/modules/Unity/ApplicationManager/desktopfilereader.cpp (+4/-3)
src/modules/Unity/ApplicationManager/desktopfilereader.h (+4/-2)
Changed in unity-mir: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Gerry Boland (gerboland) |
Changed in qtubuntu (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in unity-mir: | |
status: | Confirmed → In Progress |
Changed in unity-mir: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package qtubuntu - 0.52+13. 10.20130812. 3-0ubuntu1
--------------- 10.20130812. 3-0ubuntu1) saucy; urgency=low
qtubuntu (0.52+13.
[ Michał Sawicz ]
* Respect Path= from .desktop files. (LP: #1204596)
[ Ubuntu daily release ]
* Automatic snapshot from revision 163
-- Ubuntu daily release <email address hidden> Mon, 12 Aug 2013 14:06:28 +0000