GNOME Bugzilla – Bug 521035
Not using correct mimetype icons
Last modified: 2011-02-18 16:13:45 UTC
The GIO filechooser does not display the correct mime icons. It just seems to use the correct folder icon and the default file icon for anything (archives, text files, scripts...) else.
Created attachment 106799 [details] Screenshot This is another spin-off from bug 520605 btw.
That's a GIO issue, which isn't returning valid icon names, I think Alex proposed something for the mime spec in the xdg ML [1] to improve icon handling there, so there shouldn't be a hardcoded mimetype/icon list, I actually don't how is that progressing... [1] http://lists.freedesktop.org/archives/xdg/2008-January/009124.html
Well, It's a very visible regression for any 2.22 user because the GIO backend is now the default... which also kind of broke UI freeze I guess. Any chance this will be fixed for 2.22 in any way?
Carlos, I just checked shared-mime-info head and found this: 2008-03-04 Alexander Larsson <alexl@redhat.com> * shared-mime-info-spec.xml: Update spec from discussion on list: Add generic-icon and icon support. Add glob weight Change recommended sniffing/glob order This seems to be what was discussed on the list.
GIO now uses generic-icon and icon information from the shared-mime-info database.
Is the file chooser broken with glib trunk? I just build glib trunk but had to roll back because it would not show anything inside the filechooser, only a "loading" mouse pointer.
Disregard my previous post, it's working fine now. Thanks!