Activity log for bug #279911

Date Who What changed Old value New value Message
2008-10-07 23:58:55 Krzysztof Kosinski bug added bug
2008-10-07 23:58:55 Krzysztof Kosinski bug added attachment 'lp278133_fix_generic_icons.patch' (Patch for update-mime-database to write default names to /usr/share/mime/icons)
2008-10-08 00:00:01 Krzysztof Kosinski description Binary package hint: shared-mime-info According to this: http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html The file /usr/share/mime/icons should contain a list of mimetypes and their associated icon names. However, currently this file only lists custom overrides defined by the user in <icon> elements. GIO uses this file via xdgmime to find the icons for files in e.g. Nautilus. XDG icons always override the default icon name that is obtained by substituting slashes in the mimetype name with hyphens. This causes wrong behavior - if a given file type has a generic icon assigned, it always overrides the specific mimetype icons, e.g. application-x-rar will show up as package-x-generic even though there is an icon for application-x-rar in the current theme. To prevent this, all mimetypes should have their icons listed in /usr/share/mime/icons. Here is a patch for update-mime-database that writes the default icon names (obtained by substituting slashes for hyphens) to the aforementioned file, thereby causing the right icons to show up and fixing this regression from Hardy. This bug was first reported as bug #278133 and incorrectly marked as a duplicate of an unrelated problem with icon theme inheritance. Binary package hint: shared-mime-info According to this: http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html The file /usr/share/mime/icons should contain a list of mimetypes and their associated icon names. However, currently this file only lists custom overrides defined by the user in <icon> elements. GIO uses this file via xdgmime to find the icons for files in e.g. Nautilus. XDG icons always override the default icon name that is obtained by substituting slashes in the mimetype name with hyphens. This causes wrong behavior - if a given file type has a generic icon assigned, it always overrides the specific mimetype icons, e.g. application-x-rar will show up as package-x-generic even though there is an icon for application-x-rar in the current theme. To prevent this, all mimetypes should have their icons listed in /usr/share/mime/icons. Here is a patch for update-mime-database that writes the default icon names (obtained by substituting slashes for hyphens) to the aforementioned file, thereby causing the right icons to show up and fixing this regression from Hardy. This bug was first reported as bug #278113 and incorrectly marked as a duplicate of an unrelated problem with icon theme inheritance.
2008-10-08 08:05:02 Sebastien Bacher shared-mime-info: importance Undecided Medium
2008-10-08 08:05:02 Sebastien Bacher shared-mime-info: statusexplanation Thank you for your bug report and work on this issue. The bug is an upstream one though and it would be nice to discuss it on bugs.freedesktop.org so it can be fixed properly upstream rather than changed in a distribution specific way, could you open a bug there too and add a bug watch on launchpad?
2008-10-09 20:44:35 Sebastien Bacher marked as duplicate 280867