[Bug 539611] New: GNOME prefers generic-icon over the MIME-specific
http://bugzilla.novell.com/show_bug.cgi?id=539611 User pmladek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539611#c370015 Summary: GNOME prefers generic-icon over the MIME-specific Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 6 Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: pmladek@novell.com QAContact: qa@suse.de Found By: --- I added an icon for application/vnd.openofficeorg.extension MIME into the OpenOffice_org-libs-core package (bug #370015). It is visible in KDE4 but not in GNOME. The reason is that /usr/share/mime/application/vnd.openofficeorg.extension.xml and /usr/share/mime/packages/freedesktop.org.xml include: --- cut --- <mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/vnd.openofficeorg.extension"> <!--Created automatically by update-mime-database. DO NOT EDIT!--> <comment xml:lang="be@latin">Pašyreńnie OpenOffice.org</comment> <comment xml:lang="ca">extensió d'OpenOffice.org</comment> [...] <generic-icon name="x-office-document"/> --- cut --- and GNOME prefers this generic icon over the MIME-specific one. When I remove the generic-icon tag and regenerate the MIME database using "/usr/bin/update-mime-database /usr/share/mime", it starts to work. Is this a bug or feature? I think that it should show MIME specific icon when available. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539611 User dliang@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=539611#c1 David Liang <dliang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dliang@novell.com --- Comment #1 from David Liang <dliang@novell.com> 2009-10-27 02:03:40 MDT --- In Gnome(gtk), mime-specific icon takes higher priority than generic icon. But it searches the icon directories theme by theme, 'hicolor' is the last theme. So if current gtk-theme is 'Gilouche', Gnome/gtk will search 'Gilouche' directory first. If mime-specific icon was not found, it will continue to search generic icon. If generic icon was found in this theme, it will not search other themes whether mime-specific icon will be found in those themses. The vnd.openofficeorg.extension icon was installed in the 'hicolor' theme. The generic icon 'x-office-document' was already exist in 'Gilouche' or 'Tango' theme. So the problem happens. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=539611 https://bugzilla.novell.com/show_bug.cgi?id=539611#c2 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Vincent Untz <vuntz@suse.com> 2012-05-16 11:35:44 UTC --- As explained by David, I think this is invalid. That's really because of the way icon theme lookup works in general, and that's designed in the spec :/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com