https://bugs.documentfoundation.org/show_bug.cgi?id=120403
Bug ID: 120403
Summary: Save As does not default to current directory if MS
Office document without extension is open
Product: LibreOffice
Version: 6.0.6.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: UI
Assignee: [email protected]
Reporter: [email protected]
When choosing "Save As" in the File menu, the resulting file dialog would
default to the location of the currently opened file and pre-fill its file
name. However, this does not work when the document I'm trying to Save As is a
MS Office document (e.g. doc) that does not have an extension.
Steps to reproduce:
1.) Create a new document in LibreOffice Writer
2.) Save the document as "Microsoft Word 97-2003 (.doc)" file
3.) Remove the ".doc" file extension
4.) Open the document in LibreOffice Writer
5.) Click "Save As"
Observed behavior:
The file dialog opens (it also seems to take slightly longer to open than
usually) in Home with "Untitled 1" as file name.
Expected behavior:
The file dialog opens in the location where the file is saved and the file is
pre-selected, or (if not shown in the list because of filters) its file name
pre-filled into the file name text field.
Additional remarks:
I noticed the window title is also "Untitled 1 - LibreOffice Writer" rather
than the file name, so perhaps that's an issue in the underlying file
reading/loading code.
It does not matter whether the location saved to contains spaces or other
special characters.
It does not matter whether the "confirm when not saving as open document
format" option is enabled.
It does not matter what default file type for saving text files (odt or doc or
docx) was configured in Settings.
It does not matter what VCL plugin I use, both the kde and gtk3 dialogs show
the same behavior.
This can also be reproduced with XLS files but they aren't recognized as such
without their extension (only works if manually opened in soffice).
This can *not* be reproduced with DOCX or XLSX files but they aren't recognized
as such without their extension (shared mime info thinks they're archives,
which they area)
This can *not* be reproduced with ODT or ODS files.
This worked in LibreOffice 3.x (whatever was shipped in Ubuntu 12.04)
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs