Unity 8 does not properly parse legitimate desktop files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-mir |
In Progress
|
Medium
|
Gerry Boland | ||
qtubuntu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Basically two issues that I found:
1. Unity 8 wants '[Desktop Entry]' to be on the first line
2. Unity 8 doesn't like the spaces around '='
Unity 7 handles these fine.
Eg:
$ cat ~/.local/
# Generated by "click desktophook"; changes here will be overwritten.
[Desktop Entry]
Type=Application
Terminal=false
Exec = aa-exec -p com.ubuntu.
Icon = /opt/click.
Name=EvilApp
Comment=Ubuntu Evil App to test application confinement
X-Ubuntu-Touch=true
X-Ubuntu-
X-Ubuntu-
Path = /opt/click.
$ cat ~/.local/
[Desktop Entry]
# Generated by "click desktophook"; changes here will be overwritten.
Type=Application
Terminal=false
Exec=aa-exec -p com.ubuntu.
Icon=/opt/
Name=EvilApp
Comment=Ubuntu Evil App to test application confinement
X-Ubuntu-Touch=true
X-Ubuntu-
X-Ubuntu-
Path=/opt/
Related branches
- Gerry Boland (community): Disapprove
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 89 lines (+43/-12)1 file modifiedsrc/modules/application/application_manager.cc (+43/-12)
no longer affects: | unity-mir (Ubuntu) |
Changed in unity-mir: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in qtubuntu (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in unity-mir: | |
milestone: | none → phone-v1-freeze |
assignee: | nobody → Gerry Boland (gerboland) |
Changed in unity-mir: | |
status: | Triaged → In Progress |
probably phone v1 ?