-
Notifications
You must be signed in to change notification settings - Fork 103
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
Support more icon sizes #467
Comments
Isn't this ximion/appstream-generator#56 ? In Fedora the policy is not to include the app unless a 64px or larger icon is present, and so I don't think we'd ever ship the 48px versions even if allowed by the specification. |
Yes, and AFAIK Elementary is using appstream-generator for everything already... |
There's zero appetite on making the AppStream metadata even larger on Fedora or RHEL -- it's already 20MB decompressed. |
It's already extremely large on Debian too, and we don't have binary deltas for the icon tarballs yet. We do however have a CDN, and appstream-generator allows certain icon types to be served from a remote source only (so that's what we do with everything bigger than 64x64px). |
Ah yeah I suppose it is. It's been a long time. I guess maybe flat manager or something else is using appstream-glib instead of appstream-generator? @davidmhewitt would you be able to provide additional context here? Just for clarity, I only want the ability to serve the icon sizes we use from our Flatpak remote. I don't want to change anything for anyone else :) |
Ah, apologies, I seem to have misunderstood how the appstream publishing phase works on a flatpak remote. I had got the idea from somewhere that it was However, I'm now seeing that it seems to be Is that correct? |
Yes, looks like Flatpak hardcodes that, which isn't ideal... But also flatpak/flatpak-builder#517 still isn't solved, so without that addressed there wouldn't even be other icon sizes that Flatpak could consider. |
It seems icon sizes are unfortunately hardcoded to only be 64px or 128px here:
appstream-glib/client/as-compose.c
Lines 39 to 167 in cbe4aae
It would be nice to support more icon sizes so that app stores don't have blurry icons in lists etc. For example AppCenter uses 48px icons in lists. This means that apps from our system deb repo get sharp and properly scaled icons but apps from our flatpak remote do not. See for example this screenshot where the top and bottom icons have crisp lines and the middle icon is blurry:
It would also be nice if we used the actual scaled icons based on the icon theme spec since 128px@1x is not the same thing as 64px@2x for icons that are actually hinted and rendered for proper display scaling.
Related: elementary/appcenter-reviews#454
The text was updated successfully, but these errors were encountered: