Created attachment 196381 [details] DOCX file with 1 page of text including two footnotes Attached are two files with some text on one page. There are two footnotes in the text, and in each footnote there's a superfluous paragraph break. 1. Open the DOCX file. 2. Turn on Track Changes (Edit > Track Changes > Record). 3. Click into the first footnote, just before the superfluous paragraph break 4. Click delete on your keyboard so that the line below moves to the cursor position. 5. Do the same in footnote 2. 6. Close the file. 7. Follow steps 1 to 6 with the RTF file. 8. Reopen the DOCX file. Of footnote 2, the second part is deleted. 9. Reopen the RTF file. Of both footnotes, the first part is deleted. Expected results: No text is deleted. I noticed this behaviour with LO 24.8.0.3, but it has been there at least since LO 7.6.7.2.
Created attachment 196382 [details] RTF file with 1 page of text including two footnotes
Repro (only tested the DOCX part) Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c52f139b4f7140033144dde29f70a39ebedb6aa0 CPU threads: 4; OS: Windows 8.1 X86_64 (6.3 build 9600); UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: nl-NL Calc: CL threaded also with Version: 7.3.8.0.0+ (x64) / LibreOffice Community Build ID: e1ad83ddb2f39419fb5d7c69eba51e2b9f49c788 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL fine with Version: 7.1.8.0.0+ (x64) / LibreOffice Community Build ID: a94b58277c7aeaa83ce14347cd0b8f7137969d03 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL It appears to be import issue. File saved with 25.2.0.0.alpha0+ opens fine with 7.1.8.0.0+ Note: the text doesn't really disappear. The paragraph is 'simply' marked as deleted
(In reply to Telesto from comment #2) > It appears to be import issue. File saved with 25.2.0.0.alpha0+ opens fine > with 7.1.8.0.0+ > This seems to have begun at the below commit in bibisect repository/OS linux-64-7.2. Adding Cc: to László Németh ; Could you possibly take a look at this one? Thanks 93d819a322e6351c4474db0f481fc8d939973bf9 is the first bad commit commit 93d819a322e6351c4474db0f481fc8d939973bf9 Author: Jenkins Build User <tdf@pollux.tdf> Date: Fri Feb 12 18:33:12 2021 +0100 source 9b39ce0e66acfe812e1d50e530dc2ccdef3e1357 110811: tdf#76260 DOCX import: fix slow footnote import | https://gerrit.libreoffice.org/c/core/+/110811