https://bugs.kde.org/show_bug.cgi?id=388598

Elvis Angelaccio <elvis.angelac...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.2.2
      Latest Commit|                            |https://commits.kde.org/kio
                   |                            |-gdrive/69bc358d195c411e216
                   |                            |30b8f8cbaed05ee9f5838
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
Git commit 69bc358d195c411e21630b8f8cbaed05ee9f5838 by Elvis Angelaccio, on
behalf of Martijn Schmidt.
Committed on 10/02/2018 at 16:50.
Pushed by elvisangelaccio into branch '1.2'.

MIME type correction for .ods files in src/gdrivehelper.cpp

Summary:
KIO-GDrive appears to assign the mime type
"application/x-vnd.oasis.opendocument.spreadsheet"
to .ods files in src/gdrivehelper.cpp.
However, the correct mime type is
"application/vnd.oasis.opendocument.spreadsheet".

References:
https://wiki.documentfoundation.org/Faq/General/036
https://en.wikipedia.org/wiki/OpenDocument_technical_specification#Documents
FIXED-IN: 1.2.2

Test Plan:

1. Try to open a .ods file through an unpatched KIO-GDrive and notice how
   you'll receive a Choose Application prompt from Dolphin.
   This is a result of the fact that
"application/x-vnd.oasis.opendocument.spreadsheet" is an unknown MIME type.

2. Repeat the test described in 1 with the patched KIO-GDrive,
   and notice how (for example) LibreOffice Calc immediately opens the file
   without going through Dolphin's Choose Application prompt first.

Differential Revision: https://phabricator.kde.org/D9706

M  +15   -4    src/gdrivehelper.cpp

https://commits.kde.org/kio-gdrive/69bc358d195c411e21630b8f8cbaed05ee9f5838

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to