Created attachment 196534 [details] Footnote reference falls into the next line (ODT) Description: Sometimes footnotes reference falls into the next line in a justified paragraph. Steps to Reproduce: 1. Open attachment Actual Results: When using full justified for a paragraph, sometimes footnote number falls into the beginning of the next line, which is not desirable. This should not happen, as it is hard to follow the footnote. Expected Results: Footnote reference should remain in the last part of the line. It should be noted that the problem does not happen with right or left alignment. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Also reproduced in OOo 3.2.1 with slight modifications in text: OpenOffice.org 3.2.1 OOO320m18 (Build:9502) Not reproducible in MS Word. Even a slight change in the text by increasing the character size can lead to either move the footnote and the word before it to the next line, or keep both in the previous line. In any case, both the word and the footnote reference will be in the same line together.
Created attachment 196708 [details] Footnote reference is lost after 7a78be5090 (ODT) The behavior seems to be changed in this recent patch: commit 7a78be5090d2dabf03e18471ba718f2c4f25f740 Author: László Németh AuthorDate: Wed Sep 25 22:45:05 2024 +0200 tdf#163060 sw smart justify: fix unwanted line break inside words But now the problem is that in some cases, the footnote reference gets lost. By adding some space to line 1 to the first bugdoc, you may see the problem. The result can be seen in the new attachment.
@László: Could you please take a look at the above issue?
Created attachment 196709 [details] Footnote reference in the next line, before 7a78be5090 (PDF) Footnote falls into the next line, as this bug reports. The PDF output is created with the LO 25.2 dev master, from one commit before 7a78be5090.
Created attachment 196710 [details] Footnote reference gets lost, after 7a78be5090 (PDF) Footnote reference now gets lost. The PDF output is created with the LO 25.2 dev master, with commit 7a78be5090.
Created attachment 196711 [details] Footnote reference gets lost, after 7a78be5090 (PDF) Footnote reference now gets lost. The PDF output is created with the LO 25.2 dev master, with commit 7a78be5090.
@Hossein: thanks for the bug report! Assigned to me. I've added it to the DOCX-Paragraph meta bug, because recently this occurs only with opening a DOCX file (and saving it to ODT).
Fixed in Bug 163060. *** This bug has been marked as a duplicate of bug 163060 ***