Bug 157979 - Page break before paragraphs not working when a preceding image has "keep inside text boundaries" option active
Summary: Page break before paragraphs not working when a preceding image has "keep ins...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Page-Break
  Show dependency treegraph
 
Reported: 2023-10-30 04:05 UTC by Jambunathan K
Modified: 2025-11-07 03:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
page-break-before-headlines-not-working.zip: Contains all artefacts that demos this bug (101.30 KB, application/vnd.oasis.opendocument.text)
2023-10-30 04:05 UTC, Jambunathan K
Details
Screenshot of bug in action (144.88 KB, image/png)
2023-10-30 04:05 UTC, Jambunathan K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jambunathan K 2023-10-30 04:05:04 UTC
Created attachment 190504 [details]
page-break-before-headlines-not-working.zip: Contains all artefacts that demos this bug

*BUG DESCRIPTION*:

    PAGE BREAK BEFORE PARAGRAPHS NOT WORKING

README.org
      This file you are reading right now

page-break-before-pargaraphs-not-working.odt
      ODT file that demoes the bug

            *BUG DESCRIPTION*: Page break before paragraphs not
             working

page-break-before-paragraphs-not-working-2023-10-30_08-52.png
      Screenshot of the problem.

      Annotations on the screenshot and the text within the ODT file
      tell you what the bug is, and my assessment what may be happening.

page-break-before-pargaraphs-not-working.pdf
      PDF image of the ODT file

for-submitters-reference
      A directory.

      Contains artefacts used by the submitter to create the ODT file.
      Please ignore this directory.


1 LO versions on which the problem is seen
══════════════════════════════════════════

  ┌────
  │ Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community

  │ Build ID: 2a217a80bf383ddab0a5e0959ab2fd907dfd3406
  │ CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
  │ Locale: en-IN (en_IN); UI: en-US
  │ Calc: threaded
  └────

  ┌────
  │ Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
  │ Build ID: 4bcf6d9c905e7b5558ee8d9f7f616ce61eadb8f8
  │ CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
  │ Locale: en-IN (en_IN); UI: en-US
  │ Calc: threaded
  └────

  ┌────
  │ Version: 7.5.5.2 (X86_64) / LibreOffice Community
  │ Build ID: 50(Build:2)
  │ CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
  │ Locale: en-IN (en_IN); UI: en-US
  │ Debian package version: 4:7.5.5-4
  │ Calc: threaded
  └────
Comment 1 Jambunathan K 2023-10-30 04:05:41 UTC
Created attachment 190505 [details]
Screenshot of bug in action
Comment 2 Jambunathan K 2023-10-30 04:10:16 UTC
(In reply to Jambunathan K from comment #0)

>     PAGE BREAK BEFORE PARAGRAPHS NOT WORKING

Special request / remarks:

This report is best reviewed by someone how LO rendering works --- Does LO do multiple passes at rendering, and what happens in each pass.
Comment 3 m_a_riosv 2023-10-31 17:06:27 UTC
Maybe because it's nothing before.
Comment 4 tri 2023-11-05 12:29:10 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2023-11-07 16:28:49 UTC
The second BAD case, Portrait, was not seen in 3.5. This is the range of suspected commits I got from bibisecting with linux 43all repository:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=886762160996dfa3fee07cf135e53dfe952ed298..a44dda4b7d71f8d2b4e0cca79d732eab89588c3a

Nothing jumps out immediately. The list of commits is not very long.
Comment 6 QA Administrators 2025-11-07 03:13:45 UTC
Dear Jambunathan K,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug