Unity8 crashes when launching apps without an icon entry in their .desktop file

Bug #1591192 reported by Michael Sheldon on 2016-06-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
ubuntu-app-launch (Ubuntu)
unity8 (Ubuntu)

Bug Description

Steps to reproduce:

1. Install the attached click package

2. Start the application

Expected results:

Application should start

Actual results:

Unity8 crashes

summary: - Unity8 crashes when starting keyboard autopilot tests
+ Unity8 crashes when launching apps without an icon entry in their
+ .desktop file
description: updated
Albert Astals Cid (aacid) wrote :

As per http://paste.ubuntu.com/17290875/ seems an ubuntu-app-launch bug

Ted Gould (ted) wrote :

Seems like a desktop file should always have an Icon. We're throwing an exception because the application desktop file is invalid. I think that's a reasonable thing to do.

Changed in ubuntu-app-launch (Ubuntu):
status: New → Incomplete
dobey (dobey) wrote :

Per https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html Icon is not a required field and I do not think we should be so cavalierly throwing exceptions in such cases of certain fields not being in .desktop files. We should be extremely lenient on input.

Changed in ubuntu-app-launch (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers