Bug 132711 - Text can't flow around frame/image anchored to page under certain conditions
Summary: Text can't flow around frame/image anchored to page under certain conditions
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: Anchor-and-Text-Wrap Paragraph
  Show dependency treegraph
 
Reported: 2020-05-05 11:19 UTC by R. Green
Modified: 2022-08-10 14:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer doc. showing problem with text flow around an image/frame (81.45 KB, application/vnd.oasis.opendocument.text)
2020-05-05 11:19 UTC, R. Green
Details
Simplified document (83.00 KB, application/vnd.oasis.opendocument.text)
2020-05-09 14:45 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R. Green 2020-05-05 11:19:25 UTC
Created attachment 160374 [details]
Writer doc. showing problem with text flow around an image/frame

Version: 6.4.2.2 (x64)
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded

1. Open the attached file. Observe pp. 2 and 6.

2. Note that "Frame/Image > Wrap > Top/Bottom" has been made large enough to reserve the whole page for the Frame/Image.

EXPECTED RESULT: Paragraph text should flow AROUND the Image/Frame page.

ACTUAL RESULT:  Paragraph text is not flowing around the Frame/Image correctly. Instead the whole paragraph block is being moved to the page AFTER the Frame/Image. NOTE: Ticking the Orphans box restores the correct flow.

The critical conditions for this behaviour are:

1. In "Paragraph style > Text Flow," Orphans is unticked, Widows is ticked.
2. In "Frame/Image > Wrap", Top/Bottom should be set so that Paragraph text cannot fit onto the same page as the Image/Frame and therefore, has to flow around it.
Comment 1 Dieter 2020-05-09 05:31:39 UTC
Just for clarification: Page 2 and 6 looks as expected, but problem is blank space on page 1 and 5, correct?
Comment 2 R. Green 2020-05-09 11:04:39 UTC
(In reply to Dieter from comment #1)
> Just for clarification: Page 2 and 6 looks as expected, but problem is blank
> space on page 1 and 5, correct?
That's correct.

And if you open the "Default (Paragraph) Style" dialog and, on the "Text Foow" tab, tick "Orphan Control", the problem will self-correct.
Comment 3 R. Green 2020-05-09 11:08:46 UTC
P.S. I forgot to mention in the opening post that this problem only seems to affect images/frames where the ANCHOR is set "To page."
Comment 4 Dieter 2020-05-09 14:45:16 UTC
Created attachment 160556 [details]
Simplified document

I confirm it with

Version: 7.0.0.0.alpha1+ (x64)
Build ID: 99c337d1d3831ce9d2c7dc1cbff713f4ac49d6ac
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Steps to reproduce:

1. Open attached document.
2. See text on page 1 covers the whole page
3. Mark image on page 2 => Properties => Wrap => Change spacing bottom to 6,3 cm

Result: Blank space on page 1
Expected result: No change on page 1
Comment 5 Telesto 2020-08-11 13:04:52 UTC
Also in
3.5
Comment 6 Dieter 2022-08-10 14:31:33 UTC
Still present in

Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL