Bug 286091 - Kmail opens docx file with ark although "open with libreOffice..." was chosen
Summary: Kmail opens docx file with ark although "open with libreOffice..." was chosen
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 10:28 UTC by S. Burmeister
Modified: 2022-12-10 05:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2011-11-08 10:28:33 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

docx attachements are not opened correctly.

Reproducible: Always

Steps to Reproduce:
Receive an email with a docx file attached.
Click on it, and pick "open with libreoffice" from the dialogue.

Actual Results:  
The file is opened with ark

Expected Results:  
the file is opened with libre office
Comment 1 Laurent Montel 2011-11-08 10:51:33 UTC
It's not a kmail problem it's a kdelibs pb.
Comment 2 David Faure 2011-11-08 10:54:47 UTC
What is the mimetype written out inside the email headers?

What does "kmimetypefinder foo.docx" return for you?

And if libre office doesn't have the right mimetypes in its desktop file, then that's actually a libreoffice issue.
Comment 3 S. Burmeister 2011-11-09 10:44:52 UTC
kmimetypefinder Mönchengladbach_10.11.11.docx 
application/vnd.openxmlformats-officedocument.wordprocessingml.document
(accuracy 100)

I thought that kmail did already pick the correct appp since if you click on an attachment the dialoge that opens has "save as" "open with libre office" "open with…" "cancel".

Opening the file from dolphin does work as expected.
Comment 4 David Faure 2011-11-09 10:55:05 UTC
You skipped the first question, the one about the mail headers.

But you're right, I hadn't noticed that in your description, the app name on the button is actually correct... Very weird.

Can you forward me the email, maybe? (As an attachment)
Comment 5 S. Burmeister 2011-11-09 11:07:28 UTC
Sorry for skipping that bit.

If it's avoidable I would like to not forward that email since its content is confidential. I could create a test mail with some docx file though if the headers are not enough.

MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft Exchange V6.5
Content-type: multipart/mixed; boundary="----_=_NextPart_001_01CC9DEC.B47E3946"
Content-class: urn:content-classes:message
Thread-topic: =?iso-8859-1?Q?Querband_f=FCr_ITA?=
Thread-index: AcydXBV9my47iB52QDO9BRHA1hZ+mQAFrq8gAB36xgA=
X-IronPort-AV: E=Sophos;i="4.69,476,1315173600";
 d="xml'?rels'?docx'72,32,150,48?png'72,32,150,48,150?scan'72,32,150,48,150,32,208,72,48,150,217";a="146794936"
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
References: <9B6DCAED324841C9BFE8B0FECC5AD00F@oem7ecf2cd568f>

This is a multi-part message in MIME format.

------_=_NextPart_001_01CC9DEC.B47E3946
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_002_01CC9DEC.B47E3946"


------_=_NextPart_002_01CC9DEC.B47E3946
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Comment 6 David Faure 2011-11-09 12:45:05 UTC
text/plain is probably the text body of the email. The attachment is further down.
I should have said "MIME headers of the attachment" rather than "mail headers", my bad.

Yes, you can also just email me a test .docx file, but your kmail might do the right thing so it might just work. Well, we'll see :)
Comment 7 ohad cohen 2013-03-23 06:11:27 UTC
the same happens when opening docs files from archives with ark
Comment 8 Nate Graham 2017-11-07 20:44:32 UTC
Possibly a duplicate of https://bugs.kde.org/show_bug.cgi?id=371765?
Comment 9 Justin Zobel 2022-11-10 08:51:54 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 10 Bug Janitor Service 2022-11-25 05:15:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2022-12-10 05:12:59 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!