Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92767 - Openoffice-ximian mimetype conflict with KDE integration
Summary: Openoffice-ximian mimetype conflict with KDE integration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 23:36 UTC by Antti Mäkelä
Modified: 2005-09-24 00:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Mäkelä 2005-05-15 23:36:23 UTC
When using KDE use-flag with openoffice-ximian (to get KDE integration), the mimelnk-information is conflicted - causing wrong behavior in KDE.

For writer, things are like this, examples apply to others as well:

/usr/share/mimelnk/application/vnd.sun.xml.writer.desktop

Which contains stuff like:
[Desktop Entry]
Version=0.92
Encoding=UTF-8
Hidden=false
Icon=ooo_writer.xpm
Type=MimeType
Patterns=*.sxw
MimeType=application/vnd.sun.xml.writer
Comment=<productname> Text Document
[...]

/usr/kde/3.4/share/mimelnk/application/vnd.sun.xml.writer.desktop, on the other hand, contains

[Desktop Entry]
Encoding=UTF-8
Comment=OpenOffice.org Text Document
MimeType=application/vnd.sun.xml.writer
Type=MimeType
Icon=wordprocessing
Patterns=*.sxw;*.SXW;
[Property::X-KDE-NativeExtension]
Type=QString
Value=.sxw

The correct one is the one under /usr/kde. For some reason, KDE chooses to use the one under /usr/share. This means that in konqueror, XOO files appear without their icons, and they appear as type "<productname> text document".

This has been tested with Xoo-1.3.9, 1.3.10 and 1.3.11. KDE 3.3 and KDE 3.4.

Steps to reproduce:

Install openoffice-ximian with +KDE.

For now, I can fix the problem simply by removing all vnd.sun.xml-files from /usr/share/mimelnk/application, but I think this is not the "correct" way to do it.

Is the problem with XOO or with KDE? Ie should I somehow tell KDE that stuff under /usr/kde has preference over /usr/share?
Comment 1 Tommy Li 2005-05-23 17:38:25 UTC
The files under /usr/share are created by the openoffice-ximian ebuild. The
"correct" solution is probably to fix the openoffice-ximian ebuild to put either
correct files under /usr/share or just omit them entirely (given that the +kde
flag is on.)
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-24 00:28:18 UTC
As it seems KDE is now taking care of the mimetype stuff itself and the solution
we had was ugly anway: Have removed this now from openoffice, openoffice-bin and
openoffice-ximian. Thanks for reporting, closing