-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't allow svg images as screenshots #699
Comments
Yeah, this is actually completely unsupported. This would fail with an error in |
It doesn't https://flathub.org/apps/org.rncbc.qpwgraph |
Wait, we just render it? I'm impressed! I guess I removed some restrictions when rewriting the compose code in C 😅 |
I blocked it in linter last week and haven't seen any complaints. |
Yeah, SVG isn't allowed for screenshots - although we are a bit more lenient with the formats we accept in MetaInfo (unlike generated AppStream Catalog data where the supported output images are strictly defined). |
SVG images shouldn't be allowed as screenshots, I don't think that makes sense.
E.g. https://gitlab.freedesktop.org/rncbc/qpwgraph/-/blob/46933a4f67816c75a57a1f414c28ec1f9ca76df5/src/appdata/org.rncbc.qpwgraph.metainfo.xml#L24 should fail
The text was updated successfully, but these errors were encountered: