desktop file parser is too strict

Bug #1227359 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtubuntu
Confirmed
Medium
Gerry Boland
unity-mir
Confirmed
Medium
Gerry Boland

Bug Description

While trying to workaround bug #1227355 launching the ubuntu-ui-toolkit gallery from autopilot with the desktop file hint, we found that the gallery was not being shown on top because it was missing the Icon and Path parameters.

Also, when writing a temporary desktop file we wrote an empty new line at the begining. The parser didn't like this either.

According to greyback, the parser is too strict and it should allow desktop files without those parameters.

As a temporary workaround, I'm adding dummy parameters for the gallery app. Once you make the parser accept files without those parameters, please let me know so I can remove them.

Tags: qa-touch
Gerry Boland (gerboland)
Changed in qtubuntu:
status: New → Confirmed
Changed in unity-mir:
status: New → Confirmed
Changed in qtubuntu:
importance: Undecided → Medium
Changed in unity-mir:
importance: Undecided → Medium
Changed in qtubuntu:
assignee: nobody → Gerry Boland (gerboland)
Changed in unity-mir:
assignee: nobody → Gerry Boland (gerboland)
Leo Arias (elopio)
summary: - desktop file parser requires the Icon and Path parameters
+ desktop file parser is too strict
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.