clapper
clapper copied to clipboard
Add fallbacks for icons not in Freedesktop icon set?
Clapper relies on icons missing in some icon themes (like the one from elementary), for example:
audio-volume-overamplified-symbolicpower-profile-power-saver-symbolicpower-profile-balanced-symbolicpower-profile-performance-symbolic
While opening issues (1, 2) for adding those icons I got a seemingly valid response:
If it is not listed in the Freedesktop icon set, they should embed the icon in the application directly for fallback
See https://developer.gnome.org/documentation/tutorials/themed-icons.html#resources for how to do it
See issue: https://github.com/elementary/icons/issues/1265
Relevant icons in the Adwaita set:
- https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/blob/master/Adwaita/symbolic/status/audio-volume-overamplified-symbolic.svg
- https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/blob/master/Adwaita/symbolic/status/power-profile-power-saver-symbolic.svg
- https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/blob/master/Adwaita/symbolic/status/power-profile-balanced-symbolic.svg
- https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/blob/master/Adwaita/symbolic/status/power-profile-performance-symbolic.svg
Then its gonna be what I mentioned to you in the git discussion:
I have seen ideas for apps to ship the icons which they use to show as fallback, but (currently???) I decided to not do that. It would not fix your "star" problem and other icons would look out of place anyway.
As long as people are fine with that, sure I can ship them with the app.
It allows this to not be your problem anymore :slightly_smiling_face: and you're sure that an image (even if a bit out of place) will at least being shown for any user on any disto
Just to clarify, if we add fallbacks, I assume I'll still see the star for the info icon, because there is an icon for that in the elementary icon theme, which I think is fine.
I agree with Tintou here, that having an icon, even out of place is better than none.
I also understand that this requires extra work and maintenance if the Adwaita icons for example change.