maemo.org Bugzilla – Bug 4766
freedesktop.org icon naming spec not respected with regard to icon contexts
Last modified: 2009-08-28 16:00:18 UTC
You need to
before you can comment on or make changes to this bug.
[This is with fremantle beta SDK.]
Steps to reproduce:
Install private themed icons into $(pkgdatadir)/icons/hicolor/$size/actions/,
and use gtk_icon_theme_append_search_path() to append "$(pkgdatadir)/icons" to
the icon theme search path.
The application finds the icons.
The icons are not found; the "missing-image" icon is displayed instead.
stracing the application reveals that it never even looks in
$(pkgdatadir)/icons/hicolor/$size/actions for the icons; only
$(pkgdatadir)/icons/hicolor/$size/hildon is searched.
This is contrary to the icon naming spec
which has "actions" in its list of default contexts, and yet another problem to
fix when porting applications from Gnome to hildon.
The cause of this problem seems to be that /usr/share/icons/hicolor/index.theme
does not list the "actions" (etc.) directories in its Directories key.
can you provide a small testcase?
(Added the ticket to http://wiki.maemo.org/Mainstream_Linux_Alignment .)
I'm sorry I don't have the time right now to create a standalone testcase, but
you can see the problem in aisleriot from git://git.gnome.org/gnome-games and
building revision 849d7850fde0b9b11b856ef1a8788b05b427dcad (which is just
before 0cda45c755bf1eae63acecc80714f3c05662e7fb where I added a work-around for
this problem). Configuring with "--with-platform=hildon
--with-platform-variant=maemo5 --enable-games=aisleriot --disable-tests" should
work in scratchbox.
The symptom of the problem is the "missing-image" icon placeholder in the
toolbar, and a message on console about gtk being unable to find the
"card-deal" icon in the theme.
This issue has been FIXED in the internal Fremantle version.