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.
Git commit 158b1cb76961f60285ada2e5e12782cf064d7bca by Nate Graham. Committed on 12/07/2022 at 19:06. Pushed by ngraham into branch 'master'. Add some missing tags to AppStream metadata M +2 -0 org.kde.kirigami2.gallery.appdata.xml https://invent.kde.org/sdk/kirigami-gallery/commit/158b1cb76961f60285ada2e5e12782cf064d7bca