The metainfo data is wrong, there should never be more than one type="default" screenshot.
Regardless of that, there is a bug in the XML generator, I think I can fix it today.
This should be resolved by the patch above. The testsuite also checks screenshot writing (as opposed to only reading) now, so this or any other error does not happen again.
With appstream 0.11.5 the screenshot info is not correctly processed. For instance, for krita the xml produced by asgen contains
and 'appstreamcli dump org.kde.krita.desktop' doesn't output any screenshot info.
With previous appstream versions, the screenshot info in asgen-generated xml was enclosed in
<screenshots>...</screenshots>:and it was correctly processed and recognized by appstreamcli.
The text was updated successfully, but these errors were encountered: