Created attachment 196169 [details] line becomes off-page Open the attached document. It has a single two-column two-cell table, A1 having multiple empty paragraphs, so that it has to split into page 2; B1 has a single paragraph with no text and a single horizontal 2-cm at-char wrap-through line, which is intended to be in the ~middle of the paragraph area (positioned 1 cm from para left, 2 mm from para top). The line is not visible. Double-clicking it in the navigator reveals its handles outside of the page (to the right). The document opens modified, with the Undo list containing a single "Change style: Shape1" entry. Undoing it moves the line further to the right. The modified state appeared since version 5.0. In version 4.4, the document view was the same as it is now: single-page view. In version 4.3, the document opened in multiple-page view, with the second page shown to the right of the first one; and then, it was obvious that the line appeared at the "expected" position, but on the second page. Note that the changes in 4.4 and 5.0 are not regressions themselves, they affect already displaced line. Their mention is a possible pointer to the affected code. Important markup elements: 1. /document/settings/config-item-set - even if empty! Removing it would make the file open unchanged, with the line at the horizontal position still shifted to the right, but still within the page. 2. /document/automatic-styles/style/graphic-properties: style:wrap="run-through". Removing this gives same result. 3. Enough content in A1 to split into page 2. Removing a couple of paragraphs (from the XML) makes the line appear exactly in the correct position. Ref.: https://ask.libreoffice.org/t/non-text-items-not-being-saved-in-writer/110296
Created attachment 196170 [details] Minimal FODT
Confirmed Arch Linux 64-bit Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 921bc202246843d444d6e72a28457fd952e5333e CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 13 November 2024