[Libreoffice-bugs] [Bug 111071] Behavior is not consistent when saving with unknown file extension

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 17 15:27:36 UTC 2019


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

--- Comment #17 from Lars Jødal <lajo at rn.dk> ---
(In reply to Heiko Tietze from comment #16)
> [...] If the checkbox "Automatic file name extension" is
> there it's setting has to be respected, meaning a file Test.odt.123 renamed
> on the OS level to Test.odt.123 get's another odt extension. Maybe we just
> drop the option?

First, I hope the feature "Automatic file name extension" is kept. If not, I
will have to manually add .odt every time I save a Writer file, or it will have
no extension and not be recognized by Windows as a Writer file. (If this is not
what you are suggesting, please enlighten me!) Like it or not, Windows
recognize file associations only from the extension.

Second, the example Test.odt.123 is not representative of the example given in
the original bug report. The example from the original bug report renamed the
extension of the original file, not because this was especially meaningful, but
to create a file with an extension that might be used by a user for
version-tracking.

Let me try to give a semi-realistic example.

Suppose a file myfile.12 exists already. This file may be completely unrelated
to the Writer document that I am working on. The document I am working, I am
saving in a number of versions:
First version: "Save as", name given by me is "myfile.1", saved as myfile.1.odt
Second version: "Save as", name given "myfile.2", saved as myfile.2.odt
...
Twelvth version: "Save as", name given "myfile.12". Since a file with the full
name myfile.12 exists already in the chosen directory, Writer will not save the
file as myfile.12.odt, but ask the user if the existing file should be
overwritten. If the user confirms (likely due to confusion), then the original,
unrelated file myfile.12 will be overwritten by the Writer document.
Afterwards, the user will have lost the original file myfile.12, and may even
later have problems finding the Writer document myfile.12, since the extension
"12" does not relate it to Writer.

Does this make sense - as description and as an example of why this is not
desired?

And yes, should somebody for some reason save a Writer file and give file name
as Test.odt.123 while having checked "Automatic file name extension", then in
my humble opinion, the logical thing to do would be to save with the name
Test.odt.123.odt - it is a Writer file saved in odt format. 
Should somebody for some reason want to save the a Writer file with the full
name Test.odt.123, then they are free to do so, they just need to uncheck
"Automatic file name extension" before saving.

-- 
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/20190117/bd76c204/attachment-0001.html>


More information about the Libreoffice-bugs mailing list