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: 2023-11-07 16:28 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.