mak added a comment.
In D23306#515616 <https://phabricator.kde.org/D23306#515616>, @kossebau wrote: > In D23306#515609 <https://phabricator.kde.org/D23306#515609>, @mak wrote: > > > @kossebau How to hide .desktop files from AppStream is now more visible in https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html#spec-appdata-introduction as a hint. > > > Thanks! Though reading it, leaves open questions with me: > > - what is meant by "referenced"? only via <launchable>? In modern metainfo files yes, only via `launchable`. However, if a component `id` has a .desktop suffix, as was required in the past, and a matching .desktop file is found, that also counts as referenced and the desktop-entry file will be read. > - if there are two desktop files referenced by <launchable> where one has the ignore entry set, will this overrule the "Data will only be fetched from a desktop file if one <launchable/> tag is present" rules above? No. A `launchable` tag always beats whatever was defined in the desktop-entry file itself, so if there is one launchable tag, the .desktop entry file will be taken into consideration no matter what was defined in it (to e.g. merge in category information). Any equivalent data in the metainfo file beats that of the desktop-entry file though. If there are multiple `launchable` entries, the generator has no idea which .desktop file to read, so rather than reading any and getting information wrong, it will read none (requiring the metainfo author to add all data they want in there explicitly). This could maybe be made smarter, but tbh this case is so rare that just making the metainfo files more complete in such events seems like the better approach. In D23306#515621 <https://phabricator.kde.org/D23306#515621>, @ngraham wrote: > @mak The link https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-compulsory_for_desktop seems broken. I found a reference to `compulsory_for_desktop` at https://www.freedesktop.org/software/appstream/docs/chap-CollectionData.html, but it points to a nonexistent page. Hmm, it works fine here - maybe refresh the page? (the page was recently updated and your browser may still have an older, cached version) REPOSITORY R124 System Settings REVISION DETAIL https://phabricator.kde.org/D23306 To: ngraham, apol, mak, #plasma Cc: kossebau, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart