Description: The attachment sample file is used to test justified alignment. When opening it, insert random characters in the first paragraph and save as doc or docx file, close and reopen it, the texts in the text grid below will be repeated several times. Saving as odt, the result is correct. 7.2.5.2 does not have this problem. 7.3.4.2 has this problem. Steps to Reproduce: 1. Open the attachment sample file. 2. Insert random characters (English okay) in the first paragraph. 3. Save as doc or docx file. (using another filename to compare with the sample file) 4. Reopen the saved doc/docx file. Actual Results: The texts in the text grid (frame) below replicated many times. Expected Results: The texts in the text grid should be the same as the sample file. Reproducible: Always User Profile Reset: No Additional Info: In 7.2.5.2 the result is correct: Version: 7.2.5.2 / LibreOffice Community Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5 CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW Calc: threaded In 7.3.4.2 the result is incorrect: Version: 7.3.4.2 / LibreOffice Community Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5 CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW Calc: threaded
Created attachment 187468 [details] Sample docx file
Confirm Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8635c9aa8c6f1078a9e220076d5a08daf30077e8 CPU threads: 8; OS: Mac OS X 12.6.3; UI render: Skia/Raster; VCL: osx Locale: nl-NL (nl_NL.UTF-8); UI: en-US Calc: threaded
Bibisected with linux-64-7.3 repo to first bad commit e894e8559875e32657ffbdd2015c6471c7973942 which points to core commit: commit a4432eb0946c0bc775b3d30b634bef5d66544f8d author Vasily Melenchuk <vasily.melenchuk@cib.de> Wed Nov 24 14:50:12 2021 +0300 committer Thorsten Behrens <thorsten.behrens@allotropia.de> Tue Dec 21 23:23:51 2021 +0100 tdf#104823: support for sdt plain text fields Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127015 Before that commit, input field was not recognised as such. So maybe an implementation error rather than a regression? Vasily, can you please have a look?