Description: The attached file "letters.docx" was originally created in MS Office and contained text that should be displayed across multiple pages. In LibreOffice 24.8, this document, when opened, only displays one page consisting of the first two characters. The result of opening the file in MS Word 2019 is attached as "letters.jpg." It appears that the regression occurred after this commit: 167be9363ea5. At least before this commit, the document text opened as expected. Perhaps the issue is related to the "Keep with next paragraph" and "Allow to split paragraph" settings. At least, there are steps that can achieve a similar result: only the first page will be displayed, and the rest of the text will not be visible. Since there is no certainty yet whether the same bug actually occurs in the second case (and whether the manually recreated behavior is a bug at all), we are attaching both the original file from MSO, without changes, and the steps for reproducing similar behavior. Steps to Reproduce: 1. Open file "letters.docx" Alternative steps: 1. Open LibreOffice Writer 2. Write any line with more than 3 characters (for example "abcdefg") 3. Click RMB, select Paragraph - Paragraph... - Text Flow 4. Check "Keep with next paragraph" and click "OK" 5. Increase the font size (for example, up to 700 pt) Actual Results: Only one page with part of text is displayed Expected Results: Multiple pages containing the entire text of a line are displayed Reproducible: Always User Profile Reset: No Additional Info: The bug has been reproducible since at least version 24.2.7. It hasn't appeared yet on version 24.2.0. Still repro on: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 76d85a1364ce333d62be7e16665e2cf9f70ec024 CPU threads: 12; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+xcb) Locale: ru-RU (ru_RU.UTF-8); UI: en-US Calc: CL threaded
Created attachment 204192 [details] File with problematic line (letters.docx)
Created attachment 204193 [details] Repro on MS Writer 2019 (letters.jpg)
Created attachment 204194 [details] Compare with old LO version
reproducible in Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 620(Build:0) CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_FI); UI: en-GB Calc: threaded also checked that it works well in this version Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 6f227b0dd912d4c70a01eb3872fff15d52de543a CPU threads: 12; OS: Windows 10.0 Build 26200; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded
just to add, this is reproducible on this version Version: 24.8.8.0.0+ (X86_64) / LibreOffice Community Build ID: d1c9e0e4e1ddeb24fe8f93e56860b3765043f8b1 CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded bibisected with win64-24.8 commit ae9e8f3f6d10b0be2fe5b9b238a531b17e0d67da author Mike Kaganski tdf#160526, tdf#160549: fix split conditions at page start A single large object in a paragraph must be moved down, when the page has other content before this. On the other hand, there must not be moving down, when an unsuccessful attempt to move was already done (so the master frame is empty), or even the first time, when the frame is at the page body start. Change-Id: Ib8e2fe7b77c622d9cfac22722ca6b55dba7ad8ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165869 adding Cc: to Mike Kaganski
Created attachment 204581 [details] Minimal FODT
https://gerrit.libreoffice.org/c/core/+/198902
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/950eaf7ade2ba8f742bb34a0d12d8446fe93c27a tdf#169607: Do split when learned that it wasn't an empty master split It will be available in 26.8.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.