[Libreoffice-bugs] [Bug 137990] New: FILESAVE. Writer. Save As. Automatic file name extension. File corrupt and could not be repaired.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 4 19:45:25 UTC 2020


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

            Bug ID: 137990
           Summary: FILESAVE. Writer. Save As. Automatic file name
                    extension. File corrupt and could not be repaired.
           Product: LibreOffice
           Version: 7.0.3.1 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: link2andrey at gmail.com

Description:
This is my first time using LibreOffice. And I was trying to figure out what
the "Auto file name extension" checkbox does. I unchecked it, changed the
extensions, checked it on, changed the extension to .docx (but in the name
field the extension remains .odt), saved the file, opened it. And I found this
bugs.

So a curious person with no experience will have problems.

Steps to Reproduce:
"AFNE" = Automatic file name extension chekbox.
1.create new .odt file (just right click on desktop New->OpenDocument) and type
something.
2.File->Save As
3.AFNE uncheck(off)
4.AFNE check(on)  (<- I think the bug is here)
5.Save as type:*docx (or another)
The file name field still contains "*.odt" or the file extension that you last
saved correctly.
And extension can't be changed by field "Save as type".
6.Save(replace it? -> Yes.[if filename is the same])
But no saved file with name like "file.odt.docx". Still "*.odt".
7.Open saved file.
8."The file ... is corrupt and therefore cannot be opened. ...
Should LibreOffice repair the file?" -> Yes
9."The file ... could not be repaired and therefore cannot be opened." -> OK
Writer window closed.
10.Open saved file.
11."The file ... is corrupt and therefore cannot be opened. ...
Should LibreOffice repair the file?" -> No
12."The file ... could not be repaired and therefore cannot be opened." -> OK
Writer opened our saved and corrupted file. And we can read some text.

So, here is another bug with opening corupted file that can't be opened :).
But I don’t want to make another report because I don’t know how to make the
file corrupted without the first bug.

Actual Results:
The saved file is corrupted.

Expected Results:
The file is correctly saved in the selected extension and can be opened
correctly.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 10.0 Build 17763; UI render: Skia/Vulkan; VCL: win
Locale: uk-UA (uk_UA); UI: en-US
Calc: threaded

-- 
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/20201104/1393be24/attachment.htm>


More information about the Libreoffice-bugs mailing list