[Bug 166052] Filename is corrupted when saved as and change filter
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 13 17:04:30 UTC 2025
https://bugs.documentfoundation.org/show_bug.cgi?id=166052
--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Joachim Urmersbach from comment #4)
> I think you did not understand my
> problem: The file name "2025.04.06 testdata" is changed to only
> "2025.04.ods" that means the part ".06 testdata" is missed!!!
To the contrary: I understood your problem, but you didn't understand me: from
the application point of view, the last part of the file name after last dot is
called "file extension". File extension is often three characters (.TXT); it is
also often four characters (.DOCX); but it may be arbitrary - and even with
spaces. So in your "2025.04.06 testdata", only human can definitely tell, that
"06 testdata" is *not* an extension. From application's point of view, when you
change file type, the application needs to decide, *why* it *should* change
text like "2025.04.ODS" into "2025.04.XLSX" (i.e., replace the part after the
last dot), but "2025.04.06 testdata" into "2025.04.06 testdata.XLSX" (i.e.,
keep the part after the last dot). As I explained in comment 2, there is a
viable heuristic that we could use; but that's a heuristic, and comment 1
discusses the original problem that that heuristic could improve.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list