Incorrect icons displayed for mimetypes installed in hicolor theme only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Fix Released
|
Critical
|
|||
libgeda (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
nautilus (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: nautilus
Since having gone to great pain to create a set of gEDA mime icons in time for Gutsy, I'm rather distraught to find Nautilus is now ignoring them in hardy...
This is due to an issue with the fallback order of icons with the GIO backend in nautilus. For a given mimetype file, e.g. application-
"application-
"gnome-
"application-
"text-x-preview"
"text-x-generic"
My machine has the default Gnome icon theme set. Nautilus passes the above list of names to gtk_icon_
This means, (continuing the example), for a gEDA schematic, Nautilus will prefer to use the text-x-preview icon it can find in that theme, than the very specific mimetype icon which the gEDA suite installed in what is supposed to be the fallback theme.
I've hacked up a trial piece of code to try this another way, searching for each mime-type / content-type name one by one, only continuing to the more generic names if no icon was found. Seems to fix the issue for me, even if the code isn't pretty.
Is there any chance of getting this fixed prior to Hardy?
Changed in nautilus: | |
status: | Unknown → New |
Changed in nautilus: | |
status: | New → Confirmed |
Changed in nautilus: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in nautilus: | |
status: | Unknown → Fix Released |
Changed in nautilus: | |
importance: | Unknown → Critical |
Attached is a debdiff which fixes the icons to how they were with Gutsy. It does this by asking GTK to find the most specificly named icon first, then only proceeding with the generic names if that files.