Bug 160549 - large objects with complex header&footer may cause loop
Summary: large objects with complex header&footer may cause loop
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:24.8.0 target:24.2.3
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-05 15:37 UTC by Mike Kaganski
Modified: 2024-04-11 09:41 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
A large object not fitting the page, shifted down by an object in header (4.62 KB, application/vnd.oasis.opendocument.text)
2024-04-05 15:37 UTC, Mike Kaganski
Details
A large object not fitting the page, shifted down by an object in header (5.48 KB, application/vnd.oasis.opendocument.text)
2024-04-07 10:02 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-04-05 15:37:20 UTC
Created attachment 193517 [details]
A large object not fitting the page, shifted down by an object in header

This is basically bug 76219. The latter was closed after a fix to bug 133504; but that bugfix didn't fix the layout loop in 76219, just changed the document model in a way that the large object in the body wasn't shifted down by a header's object.

The attachment here has the problem that previously was in attachment 95878 [details]; it makes sure that the wrap of the object in header is "none", and that reproduces the hang, including OOo 3.2.0.
Comment 1 Mike Kaganski 2024-04-07 10:02:50 UTC
Created attachment 193555 [details]
A large object not fitting the page, shifted down by an object in header

A wrong sample was attached initially; this is the correct one
Comment 2 Commit Notification 2024-04-07 16:48:00 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ae9e8f3f6d10b0be2fe5b9b238a531b17e0d67da

tdf#160526, tdf#160549: fix split conditions at page start

It will be available in 24.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.
Comment 3 Commit Notification 2024-04-11 09:41:46 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/core/commit/167be9363ea505b334aa595b273707d7d9217863

tdf#160526, tdf#160549: fix split conditions at page start

It will be available in 24.2.3.

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.