Issue 98434 - mimetype icons don't adhere to the Icon Naming Specification
Summary: mimetype icons don't adhere to the Icon Naming Specification
Status: CONFIRMED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 3.0
Hardware: Unknown Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 19:15 UTC by agx
Modified: 2017-05-20 11:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description agx 2009-01-24 19:15:05 UTC
the icons installed in
/usr/share/icons/{hicolor,locolor,gnome}/*/*/openofficeorg3*png don't
adhere to freedesktop.org's Icon Naming Specification [1]. They should
be named according to the mime types specified in
/usr/share/mime/packages/openoffice.org.xml:

application-vnd.oasis.opendocument.<subtype>.png

A simple:
ln -s /usr/share/icons/hicolor/16x16/mimetypes/openofficeorg3-oasis-text.png \
  
/usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.text.png

shows that this "works" as expected and the icons get picked up e.g. in the
GtkFileChooser and KDE since icon themes are required to fall back to hicolor
if no other icon is available [2]:

| In order to have a place for third party applications to install their icons
| there should always exist a theme called "hicolor" [1]. The data for the
| hicolor theme is available for download at:
| http://www.freedesktop.org/software/icon-theme/. Implementations are required
| to look in the "hicolor" theme if an icon was not found in the current theme. 

Note that I have observed this in Debian's openoffice.org package but the
maintainer indicates that this might also affect the upstream source [3].
 -- Guido

[1] http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
[2] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512731
Comment 1 rene 2009-01-24 19:48:03 UTC
reassign to proper component (sysui)
Comment 2 rene 2009-01-24 19:50:05 UTC
rene@frodo:~/OpenOffice.org/OOO300_m15_native_packed-1_en-US.9379/RPMS/desktop-integration$
dpkg --contents openoffice.org3.0-debian-menus_3.0-9376_all.deb | grep png |
grep mime | head -n 5
-rw-r--r-- so-uprel/updater   4023 2008-12-15 13:52
./usr/share/icons/hicolor/48x48/mimetypes/openofficeorg3-oasis-text-template.png
[...]
Comment 3 rene 2009-01-24 19:51:59 UTC
-> ihi
Comment 4 rene 2009-01-24 19:54:34 UTC
btw, Guidoos reference at [3] referenced the wrong bug, it has to be
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512792
Comment 5 Marcus 2017-05-20 11:33:23 UTC
Reset assigne to the default "issues@openoffice.apache.org".