[Libreoffice-bugs] [Bug 127226] New: inconsistent behavior when opening odt vs. docx

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 29 20:46:17 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127226

            Bug ID: 127226
           Summary: inconsistent behavior when opening odt vs. docx
           Product: LibreOffice
           Version: 6.3.0.4 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jbfaure at libreoffice.org

Description:
Libre Office do not act the same way when it opens an odt wrongly tagged as
docx and a docx wrongly tagged as odt.

Steps to Reproduce:
1. take an odt file a.odt and rename it as a.docx
2. take a docx file b.docx and rename it as b.odt
3. open a.docx
4. open b.odt

Actual Results:
When opening a.docx (which is an ODF file) LO opens the file without notice.

When opening b.odt (which is an OOXML file) LO complains that the file is
corrupted and asks if LO should repair the file (with default answer set to
No). If the user choose No, LO answer that the file could not be repaired and
therefore cannot be opened. The user can only push the OK button and then LO
opens the file without other notice. If the user choose Yes, LO answer the same
thing but does not open the file.

Expected Results:
LO should notify the user that the format of the file does not comply with its
extension. It should open the file without falsely saying that it is corrupted
and it should give the correct type in the dialog File > Properties > General.


Reproducible: Always


User Profile Reset: No



Additional Info:
I cannot test old version of LO but I think that this is a very old problem
inherited from OOo.

-- 
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/20190829/a3166c01/attachment.html>


More information about the Libreoffice-bugs mailing list