First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 92767
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: OpenOffice Team <openoffice@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Antti Mäkelä <zarhan@iki.fi>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 92767 depends on: Show dependency tree
Bug 92767 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-15 23:36 0000
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 From Tommy Li 2005-05-23 17:38:25 0000 -------
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 From Andreas Proschofsky 2005-09-24 00:28:18 0000 -------
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 

First Last Prev Next    No search results available      Search page      Enter new bug