Bug 132415 - Multiple-page view: Page layout is wrong for text behind image with page wrap optimal on
Summary: Multiple-page view: Page layout is wrong for text behind image with page wrap...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap Multi-Page-View
  Show dependency treegraph
 
Reported: 2020-04-25 19:58 UTC by Telesto
Modified: 2023-03-27 22:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (456.07 KB, application/vnd.oasis.opendocument.text)
2020-04-25 19:58 UTC, Telesto
Details
Demonstration (456.08 KB, application/vnd.oasis.opendocument.text)
2020-04-25 20:02 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
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.