https://bugs.kde.org/show_bug.cgi?id=400998

            Bug ID: 400998
           Summary: appdata missing launchable key
           Product: kirigami gallery
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: sit...@kde.org
  Target Milestone: ---

appdata is autogenerated from kpackage, thus lacks a <launchables> definition

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-launchable

STEPS TO REPRODUCE
1. build kirigami
2. look at ./src/org.kde.kirigami2.gallery.appdata.xml
3. find it missing launchable
4. add gallery to a distro and have final appstream data generated
5. install gallery via discover

OBSERVED RESULT

discover has no means to start the gallery because it relies on the launchable
field to tell it a desktop file to look for

EXPECTED RESULT

discover should be able to start a newly installed application

ADDITIONAL INFORMATION

various automatism also rely on well written appdata to figure out the
associated desktop file (e.g. snap bundle building can automatically detect and
pick up desktop files if they were properly defined as launchables)

to fix this I suggest writing the appdata manually. seeing as this is an
application the auto generation is fairly meh. iff you really want auto
generation I suggest you don't use kpackagetool but instead rely on
appstream-generator to automatically extract minimal appdata from the
application desktop file.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to