Description: A DOCX file with tracked changes, saved in MS Word and reopened in LO Writer. If a text at the end of a paragraph is moved elsewhere, LibreOffice deletes the paragraph break. Steps to Reproduce: 1. Create a DOCX with tracked changes in MS WOrd. 2. Move a fragment of text from the end of a paragraph to a different place (without deleting the paragraph ending mark). 3. Turn off showing tracked changes to see that the paragraph break is still there. 4. Save, close, open the file in LibreOffice. 5. Note that the paragraph break has disappeared (the paragraph we moved the text from is now connected with the next paragraph). 6. Close the file, open it again in Word. 7. Apparently the bug was saved in the file, as it is now present in Word, too. Actual Results: Paragraph break is deleted, as described above. Expected Results: Making changes inside a paragraph shouldn't affect the paragraph break. Reproducible: Always User Profile Reset: No Additional Info: --
Created attachment 183463 [details] MS Word, original file, changes shown
Created attachment 183464 [details] MS Word, original file, changes hidden
Created attachment 183465 [details] File reopened in LibreOffice Writer, changes shown
Created attachment 183466 [details] File reopened in LibreOffice Writer, changes hidden
Created attachment 183468 [details] Document reopened in LibreOffice Writer
Created attachment 183469 [details] Document created in MS Word and not opened in LibreOffice
Confirmed in: Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b57307e8f3553fcb292c9c11fcf58bcef3a6cb3c CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Already in: Version: 6.3.6.2 Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; Locale: en-AU (en_AU.UTF-8); UI-Language: en-US Calc: threaded
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/386402ded6db4614c943c94f6e68bc1de1a38fe6 tdf#151954 DOCX import: fix text moving before paragraph end It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
László Németh committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/febfa2d17e43e643b7c0cc694de5be9ae2fe6ec1 tdf#151954 DOCX import: fix text moving before paragraph end It will be available in 7.4.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@Wojciech: thanks for the bug report! Stéphane: thanks for your feedback!
Verified in: Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 5b18eebc2c95321ce7e6edf10f4df81557382a48 CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL threaded