Bug 164440 - File Save As dialog does not change filename extension to match file format selection
Summary: File Save As dialog does not change filename extension to match file format s...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Desktop-Integration
  Show dependency treegraph
 
Reported: 2024-12-23 15:56 UTC by p.wibberley
Modified: 2025-01-29 10:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p.wibberley 2024-12-23 15:56:33 UTC
When saving a new document, if the file format is selected first and then the document saved, then the extension seems to match the file format.  However, if an existing file has been already saved in one format and File.Save_As is used to change the file format then the extension is not changed. 

E.g. if a DOCX document is saved as an ODT then the existing *.DOCX file is overwritten.  Earlier versions of LibreOffice would change the extension, resulting in separate *.DOCX and *.ODT files. 

Thanks and regards
Comment 1 Raúl Osuna 2024-12-24 15:32:41 UTC
Can't reproduce it in Linux.

1- Open writer, type some random stuff
2- Save as, chose docx (Office 365)
3- Checked in the console, file is there.
4- Save as, chose ODF (ODT), same name except the default selected extension (anyway in Linux there are no extensions).
5- Checked in the console, both file exists.

Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 16; OS: Linux 6.12; UI render: default; VCL: kf6 (cairo+wayland)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded
Comment 2 p.wibberley 2024-12-24 16:54:31 UTC
Hi Raúl, 

Following your comments on Bug 164441, it seems that my LibreOffice KDE Integration isn't working, so I think I'm not getting the correct dialog box.  

I've filed a bug with bugs.kde.org (#497867), as it seems this may be a problem with KDE Neon.  (That said, someone using OpenSUSE is having a similar error trying to remove LibreOffice KDE Integration (#463470).)

Regards

Peter
Comment 3 Ezinne 2024-12-30 15:39:56 UTC
Not reproducible in:

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f24bb80e45c1693db33b47ee695436b2c8d5fbcd
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded


Both the original file and the new file saved with the .docx extension exist in the File Manager.
Comment 4 Buovjaga 2025-01-29 10:07:02 UTC
The reporter earlier created bug 163466 for the same issue, so I am closing this as invalid.