Bug 132415

Summary: Multiple-page view: Page layout is wrong for text behind image with page wrap optimal on
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: aron.budea
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=133046
https://bugs.documentfoundation.org/show_bug.cgi?id=89818
https://bugs.documentfoundation.org/show_bug.cgi?id=133709
https://bugs.documentfoundation.org/show_bug.cgi?id=123180
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 87740, 112983    
Attachments: Example file
Demonstration

Description Telesto 2020-04-25 19:58:33 UTC
Description:
Page layout off/ should be 4 for pages

Steps to Reproduce:
1. Open the attached file
2. Image on page 3 is overlapping text with optimal text wrap on

Actual Results:
Image on page 3 is overlapping text

Expected Results:
Same as LibreOffice 3.0


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 951b6a9570ae2665f7b6e7cdd6d24d1fc513ba90
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

but not in
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 1 Telesto 2020-04-25 19:58:45 UTC
Created attachment 159934 [details]
Example file
Comment 2 Telesto 2020-04-25 20:02:05 UTC
Created attachment 159935 [details]
Demonstration

1. Open the attached file
2. Select the image
3. Drag the anchor to page 4
4. Result -> Example file
Comment 3 Timur 2020-06-04 20:23:59 UTC Comment hidden (obsolete)
Comment 4 Telesto 2020-06-04 21:05:51 UTC
(In reply to Timur from comment #3)
> No repro 4.3. Then 4.4 and 5.0 missing text. Repro 5.2 and 7.1+. Regression.
> Needs 2 bibisects.

Select the image and move it a little in older versions.. and result will be the same.. already seen in 4.0 oldest
Comment 5 Timur 2020-06-08 08:31:00 UTC
(In reply to Timur from comment #3)
> No repro 4.3. Then 4.4 and 5.0 missing text. Repro 5.2 and 7.1+. Regression.
> Needs 2 bibisects.

Above test was in Windows, just opening file. 

But try to bibisect in Linux with 4.4 showed it's not that simple, same version opens differently. Looks like it depends on zoom. 
For example, 50% zoom opens 3 pages (wrong) in 4.4 oldest, same as latest. 75% zoom opens differently in oldest, 3 or 4 pages (wrong or correct). 

Going back to OO 3.3, it will mostly open fine, but not always, so this looks Inherited. 

Also in master 7.1+, 75% zoom opens differently.
Comment 6 Timur 2020-06-08 08:38:41 UTC
Looks like the key issue here is multipage view. If file (even wrong with 3 pages) is saved with single page (100% or 75%), it opens fine after that.
Comment 7 Timur 2020-06-08 08:41:53 UTC Comment hidden (obsolete)
Comment 8 Justin L 2020-08-19 18:53:23 UTC
(In reply to Timur from comment #7)
> *** Bug 133709 has been marked as a duplicate of this bug. ***

Sorry, I missed noticing this duplicate marking earlier. Can you explain why - since this inherited bug is referencing a 7.0 regression?

I'm trying to decide whether I do go ahead and revert the identified commit in bug 133709 as I originally intended, or whether I just wash my hands of it and let it stay. Would reverting help this bug in any way, or hurt it even more.
Comment 9 Telesto 2020-08-19 18:57:31 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2022-08-20 03:44:07 UTC Comment hidden (obsolete, spam)
Comment 11 Justin L 2023-03-27 22:02:26 UTC
Untitled.odt does not have any optimal-wrapped images. They are all parallel-wrapped.
There is no overlapped text. There are only parallel-wrapped one or two character words on the right hand side.