[Libreoffice-bugs] [Bug 122266] New: LibreOffice/Windows does not install MIME type for MS Word =>2007 documents
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 21 15:07:24 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=122266
Bug ID: 122266
Summary: LibreOffice/Windows does not install MIME type for MS
Word =>2007 documents
Product: LibreOffice
Version: 6.1.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: mike-libreoffice at mikeymike.org.uk
Description:
I found this in a round-about way because of a website that was inadvertently
offering files to download but in Firefox the files came without the .docx file
extension, causing Windows (tested on 10 x64, 7 x64, XP x86) to ask the user
what they want to do with a file with no extension and no suggested app to open
it with. Firefox described the file being of type:
application/vnd.openxmlformats-officedocument.wordprocessingml.document
However, with Word 2007 installed, Firefox would suggest Word to open the file
with and described it as a "Microsoft Word Document", or with Word installed
but LO set as the default app to open Word 2007 Documents in Windows, it would
suggest LibreOffice Writer.
After a bit of research, I added the following registry keys when Word was not
installed:
HKEY_CLASSES_ROOT\MIME\Database\Content
Type\application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/vnd.openxmlformats-officedocument.wordprocessingml.document\Extension
(string): ".docx"
Which fixes the problem. I think the other ones (Excel, PowerPoint) are
missing too, but I haven't tested those to the same degree.
On Linux x64 LO 6.0.x works fine in this regard.
Here's the contents of the .reg file I made that fixes the problem:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\MIME\Database\Content
Type\application/vnd.openxmlformats-officedocument.wordprocessingml.document]
"Extension"=".docx"
Steps to Reproduce:
1. Download with Firefox a Word 2007 document from a website which lacks the
.docx extension.
Actual Results:
Windows asks what to do with file of type
'application/vnd.openxmlformats-officedocument.wordprocessingml.document' with
no suggested apps.
Expected Results:
LibreOffice Writer should have been the suggested app to open the file.
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181221/0f6f3d4a/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list