<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FILESAVE. Writer. Save As. Automatic file name extension. File corrupt and could not be repaired."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137990">137990</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILESAVE. Writer. Save As. Automatic file name extension. File corrupt and could not be repaired.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.3.1 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>link2andrey@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>