Bug 166554 - LAYOUT HANG: 1 page document never finishes loading
Summary: LAYOUT HANG: 1 page document never finishes loading
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Opening
  Show dependency treegraph
 
Reported: 2025-05-12 16:21 UTC by Justin L
Modified: 2025-08-26 16:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
splitParaTopMargin_column.docx: the DOCX version of bug 166552 comment 2 (18.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-05-12 16:21 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-05-12 16:21:09 UTC
Created attachment 200758 [details]
splitParaTopMargin_column.docx: the DOCX version of bug 166552 comment 2

Steps to reproduce: 
1.) try to open splitParaTopMargin_column.docx

The problem is that it never opens. It must be in a layout loop.

This started in LO 6.3 with commit b7d4418c309c8bc4fd25485dd3a0ea6ad9edf34e
Author: Michael Stahl on Tue Feb 26 18:47:46 2019 +0100
    tdf#122892 sw: fix IsPrepWidow() loop in SwTextFrame::CalcFollow()

Note that the DOC version of this file opens fine.
Comment 1 Jeremy Norvell 2025-05-12 23:11:21 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 866538a4aeb30a598a6ede3d1763d898eb1920b0
CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

... but opens as expected in

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4
Calc: threaded
Comment 2 Justin L 2025-08-26 16:19:47 UTC
It loads in 24.2.3 because of commit 167be9363ea505b334aa595b273707d7d9217863
Author: Mike Kaganski on Sun Apr 7 18:23:52 2024 +0500
    tdf#160526, tdf#160549: fix split conditions at page start
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165869

and stopped loading again in 24.8.1
with 25.2 commit 43cb4360e9e9211bd131178c9f96ec3ce6bae682
Author: Mike Kaganski on Mon Aug 5 16:47:22 2024 +0500
    tdf#162345 Allow splitting, when we have columns
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171481