Mint Software Manager "crippled icons"
Hi. For some reason there are only colored circles (means that icons were applied, but without images?) in Software Manager. Icons for these categories are also placed in kickoff and they work fine.

The same behavior:

Is that a known issue? Linux Mint 17.3 cinnamon
Never seen this anywhere else than the GitHub preview, no idea what's happening there. Is this a new issue or is it just now you started using Numix Circle?
Is the Mint Software Manager GTK, Qt or something else?
My uninformed guess is that those might be the icons which still have that unused clipping in their code.
@palob
or is it just now you started using Numix Circle?
Yes, just started now.
Is the Mint Software Manager GTK, Qt or something else?
Cinnamon is a desktop environment that is based on the GTK+ 3 toolkit. So, I have installed libgtk-2.0-0 (2.24.23-0ubuntu1.3) and libgtk-3-0 (3.10.8~8+qiana)
But are you sure the Software Manager (not a Cinnamin app) is GTK and uses librsvg for SVG rendering?
Could you try whether sudo gtk-update-icon-cache -f /usr/share/icons/hicolor, sudo gtk-update-icon-cache -f /usr/share/icons/Numix are of any help?
Maybe removing the icon thumbnail cache does something rm -R ~/.cache/thumbnails/*
rm ~/.thumbnails/*
Could you try whether sudo gtk-update-icon-cache -f /usr/share/icons/hicolor, sudo gtk-update-icon-cache -f /usr/share/icons/Numix are of any help?
No, nothing has changed.
Maybe removing the icon thumbnail cache does something rm -R ~/.cache/thumbnails/* rm ~/.thumbnails/*
No, all the same.
Mintinstall is a gtk application, you can check their source code in Github. But i've never seen that before, we had a lot of issues with MintInstall :(
Le 28 déc. 2015 à 11:51, zummuz [email protected] a écrit :
Could you try whether sudo gtk-update-icon-cache -f /usr/share/icons/hicolor, sudo gtk-update-icon-cache -f /usr/share/icons/Numix are of any help?
No, nothing has changed.
Maybe removing the icon thumbnail cache does something rm -R ~/.cache/thumbnails/* rm ~/.thumbnails/*
No, all the same.
— Reply to this email directly or view it on GitHub.
Is there any obvious difference between applications-graphics and e.g. applications-games?
@wa4557
-rw-r--r-- 1 root root 9496 Dec 27 18:33 48x48/apps/applications-games.svg (works)
-rw-r--r-- 1 root root 4363 Dec 27 18:33 48x48/apps/applications-internet.svg (works)
lrwxrwxrwx 1 root root 24 Dec 27 18:33 48x48/apps/applications-graphics.svg -> accessories-painting.svg (doesn't work)
lrwxrwxrwx 1 root root 10 Dec 27 18:33 48x48/apps/applications-office.svg -> docear.svg (works)
@zummuz: Could you try soemthing like inkscape --vacuum-defs /path/to/accessories-paintings.svg. Then do everything @palob suggested above again; change the icon theme to some other theme and back to Numix and see if something changed for application-graphics?
Checked octave.svg and unetbootin.svg. Both contain clipPath objects.
@wa4557 All icons in question already have been treated with --vacuum-defs so it doesn't seem to be capable of removing the clipPath cruft.
So if the clipPath stuff proves to be the root of evil we might have to put up a custom script (and maybe it it to this one.
@zummuz
Here is the source code of unetbootin.svg.
Could you please open the icon in a text editor and delete lines 7 through 16 (as highlighted in the link above) and check if unetbootin looks fine then?
@palob The difference I see in these icons, is that the icons which work are "inkscape" svgs whereas the icons which don't have been treated with the svgcleaner-script. So a inkscape --vacuum-defs changes the icon back to a inkscape svg
But there are working ones which have been treated with svgcleaner.
As far as I can see it's really just the clipPath stuff.
@wa4557
@zummuz: Could you try soemthing like inkscape --vacuum-defs /path/to/accessories-paintings.svg. Then do everything @palob suggested above again; change the icon theme to some other theme and back to Numix and see if something changed for application-graphics?
It hasn't helped
@palob
Could you please open the icon in a text editor and delete lines 7 through 16 (as highlighted in the link above) and check if unetbootin looks fine then?
Looks fine:

@zummuz Cool, I guess @palob is right then
@palob Are there any icons that still need the clipPath stuff? Otherwise we should add an option to the svgcleaner script that removes those parts...
Also some icons haven't been applied (firefox, for instance, applied only on installation page). And those which have been applied, after installation become empty with check mark (like unetbootin on the screenshot below)
Though that's not significant.
I guess it's an issue with MintInstall..
Le 28 déc. 2015 à 14:21, zummuz [email protected] a écrit :
Also some icons haven't been applied (firefox, for instance, applied only on installation page). And those which have been applied, after installation become empty with check mark (like unetbootin on the screenshot below)
Though that's not significant.
— Reply to this email directly or view it on GitHub.
@wa4557 I don't think there is any icon which needs that. If any icon needed this it would show up broken in Qt DEs / image viewers.
@bil-elmoussaoui Yeah, don't know where those non-Numix icons come from. The Firefox icon is an outdated upstream icon revision, the VLC icon isn't the upstream icon either.
In addition to clipPath stuff it looks like some icons have unused text objects in their code which inkscape --vacuum-defs and svgcleaner-cli aren't capable of removing.
scour also does not remove them. We could manually remove them using sed or sth similar but not sure if this breaks something...