Opening this bug as the user error behaviour mentioned in bug 99639 only happens in Windows and not Linux and they should be the same.
1. Open Writer
2. Ctrl + S
3. Replace the file extension .odt with .docx and dont change the 'save as type' drop down from its default 'ODF Text Document...' entry
4. File is saved in odf format
This is basically bug 93199, right?
That's how Linux works. You can label a file foo.doc.odt and the user is supposed to be smart enough to work without automatic adjustments. WF in my opinion.
I've seen this inconsistency in the past...
on Linux the export change to .odt if I change the name. However, on Windows, the output name will be foo.odt.xxx.
From my point of view, it's a bug as the behaviour is inconsistent across platforms.
(In reply to Xisco Faulí from comment #3)
> From my point of view, it's a bug as the behaviour is inconsistent across
It's how the platforms work, inconsistently. Windows hides the file extension and you see foo.doc while the actual extension is .odt. On the other hand, in case of raster graphics no one cares if a bmp file is called png because the application detects the format not trusting on the filename. And LibreOffice is capable of that too.
(In reply to Aron Budea from comment #1)
> This is basically bug 93199, right?
Guess it is.
(In reply to Heiko Tietze from comment #4)
> It's how the platforms work, inconsistently.
Doesnt mean that we cant fix this issue specifically to Windows for the save dialog, as we have users who are using LO cross-platform and falling over this issue.
On Windows, i can change the filetype of the open dialog to only show .docx files, but if i type the name of a .odt file in the filename field, it will pick it, though it still tries to load it as a .docx file. ;D
> Windows hides the file
> extension and you see foo.doc while the actual extension is .odt. On the
> other hand, in case of raster graphics no one cares if a bmp file is called
> png because the application detects the format not trusting on the filename.
> And LibreOffice is capable of that too.
Hiding of file extensions isnt relevant, as you can easily enable the showing of file extensions.
*** Bug 115229 has been marked as a duplicate of this bug. ***
(In reply to Buovjaga from comment #6)
> *** Bug 115229 has been marked as a duplicate of this bug. ***
Sorry, this was a mistake as Jay's report is against Windows.
Let's put this one to NEW