On Sat, 14 Mar 2009 22:04:46 -0000, Thomas Worthington <thomas@...2129...> wrote:
On Sat, 14 Mar 2009 20:57:58 -0000, Krzysztof Kosiński <tweenk.pl@...400...> wrote:
The fallback order is:
- The user's chosen theme. The theme author should provide icons for us
here. This location is already in gtk_icon_theme_get_default(), and we mustn't touch it. 2. The system's fallback theme (hicolor). Same as above, it's already added to the search path by GTK. 3. Our icons from /usr/share/inkscape/icons. We use them if no one provided icons for us. This we must add using gtk_icon_theme_append_search_path(), to put it at the end.
Regards, Krzysztof Kosiński
Currently (rev 20903) many of my icons are missing (or possibly scaled to 1x1, I'm not 100% sure). For example, on startup the "Draw Stars and Polygons" icon consists of two pixels, but if I open the actual svg file in /usr/share/inkscape/icons/hicolor/scalable/actions/ in Inkscape, the icon seems perfectly normal.
I uninstalled Gnome a couple of years ago after giving it a try (KDE went some years before that) and there is a reasonable chance that some old setting were left behind but I've no idea where. So, when you say that Inkscape is looking at the user's theme or the system's fallback theme, where do you actually mean?
At the moment Inkscape itself doesn't (AFAICS) have an option to just use the icons in /usr/share/inkscape/icons (which would be my personal default) so I can't really get a handle on what's happening to the icons even to say that the problem definately is being caused by old settings.
Following on from this, I've now managed to determing that the icons being accessed are indeed the ones in /usr/local/share/inkscape/icons/hicolor and that if icons.svg is opened then all the icons display correctly, even the ones which do not correctly render on the toolbars.
In the process of testing this I discovered that the same icons which are defective on the toolbars also do not display correctly using Imagemagick's "display" command while the icons which do appear correctly in the toolbars also render correctly in Imagemagick.
I don't know if that moves things on at all, but there it is.