Created attachment 176675 [details] Testcase On some odt file, writer changes the page layout when saving and reopening, after adding some text. This breaks a table row across a page. To reproduce: 1. Open file0.odt (attached) with "libreoffice file0.odt". 2. Page 2, in the blank cell on the right of "Nom de l'organisme complémentaire", add some text, e.g. just a period. At this point, the page layout hasn't changed. 3. Save the file with Ctrl-S. At this point, the page layout still hasn't changed. 4. Quit LibreOffice. 5. Reopen the saved file with "libreoffice file0.odt". Result: The first line of the "Nom de l'organisme complémentaire" table row now appears at the end of page 1 (the end of this row still appears on page 2). Note: This is a file that comes from Inria in the docx format. I had converted it to odt with this same LibreOffice version. The conversion was apparently fine. The bug occurs only after editing the resulting odt file, saving it and reopening it, as described above.
Created attachment 176676 [details] Incorrect file obtained after adding text and saving The file file1.odt is the file I obtain after step 3.
Note: I was using the libreoffice 1:7.2.3-2 Debian package under Debian/unstable.
REPRODUCIBLE with reporter's sample document, Server Installation of Version: 7.4.0.0.alpha0+ (x64) Build ID ae36ee4f3aa544e53e2edad93d6d79160b27bc9d CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win | Special devUserProfile | Locale: de-DE (de_DE); UI: de-DE | Calc: CL In step (2) I simply typed 2 blank. Following the instruction showed thhe complained effect. After deletion of blank (Backspace), save, close, relaunch, reopen Nom de l'organisme complémentaire" has moved back to page 2. Not yet checked for possible DUPs
No obvious DUP found iwth this query: <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs146032&sharer_id=19321>
Reproduced with the original instructions - adding two newlines was not enough. The table is already split on two pages in older versions. Arch Linux 64-bit Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 25e9766e9b87342b6f1b29dc146d5f33e12157a7 CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 23 November 2022
Still repro Arch Linux 64-bit Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fb39ae1bc7e4b1cbfc3108efca52ec310faf7363 CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 14 September 2024