common-id extractor to infer launchable for legacy support

Bug #1778546 reported by Harald Sitter on 2018-06-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sergio Schvezov

Bug Description

Currently the appstream extractor will only go looking for a desktop file iff a `launchable` is set in the appstream data. Unfortunately older desktop files may still rely on the previous functionality which was that the`id` == desktop-id (e.g. ``).

To support that properly the extractor should also attempt to locate the desktop if no launchable is present BUT the id ends with '.desktop'.

For broadest compatibility the extractor could always go looking for the desktop file even when no launchable was provided, appending '.desktop' as necessary. This is however not required from a spec POV, just a thought.

See note at

tags: added: 19.04 19.04-blue 19.04-external
Changed in snapcraft:
milestone: none → 3.1
assignee: nobody → Sergio Schvezov (sergiusens)
importance: Undecided → Medium
status: New → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers