Bug 165564 - Corrupted endnotes and footnotes after saving and opening as RTF
Summary: Corrupted endnotes and footnotes after saving and opening as RTF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks: RTF-Footnote-Endnote
  Show dependency treegraph
 
Reported: 2025-03-04 08:53 UTC by Marco
Modified: 2025-03-09 08:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (13.13 KB, application/vnd.oasis.opendocument.text)
2025-03-04 08:56 UTC, Marco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2025-03-04 08:53:52 UTC
Description:
Endnotes at the beginning of the line get an additional space when saved in rtf format.
Special endnotes add an unwanted duplicate reference marker character. Special endnotes at the beginning of the line also add the the reference character to the text of the endnote.
The additional space at the beginning of the line is added when the file is saved.
Other errors are introduced when the file is read.

Steps to Reproduce:
1. New File
2. Type any text
3. Insert an endnote
4. Save as rtf
5. Close file
6. Open the saved file

Actual Results:
Unwanted characters and spaces both in the reference and in the text of the endnote

Expected Results:
Open the file as I saved it


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: CL threaded
Comment 1 Marco 2025-03-04 08:56:04 UTC
Created attachment 199593 [details]
Example file

Save file as RTF and reopen
Comment 2 raal 2025-03-09 08:14:51 UTC
Confirm with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7c806a668530f25730717a12e6f97972f69d9c09
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded