Bug 135225 - layout glitch in gigantic paragraph: text wraps through image set to optimal wrap b/c another image anchored to follow page
Summary: layout glitch in gigantic paragraph: text wraps through image set to optimal ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: lowest normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 147155 (view as bug list)
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2020-07-28 11:55 UTC by Telesto
Modified: 2025-04-19 07:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (977.14 KB, application/vnd.oasis.opendocument.text)
2020-07-28 15:49 UTC, Telesto
Details
Example file 2 (only slow loading. no wrap issue) (975.45 KB, application/vnd.oasis.opendocument.text)
2020-07-30 19:22 UTC, Telesto
Details
How the document looks before the commit (180.49 KB, image/png)
2021-04-14 19:11 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-28 11:55:49 UTC
Description:
Image before text on file open

Steps to Reproduce:
1. open the attached file


Actual Results:
Image before text on file open (no wrap)

Expected Results:
Wrap


Reproducible: Always


User Profile Reset: No



Additional Info:
Repro with
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in with
6.0

and with
4.4.7.2

not with
4.3.7.2
Comment 1 Xisco Faulí 2020-07-28 15:23:24 UTC
No attached document
Comment 2 Telesto 2020-07-28 15:49:04 UTC
Created attachment 163704 [details]
Example file
Comment 3 Aron Budea 2020-07-30 00:06:10 UTC
Confirmed with 7.1.0.0.alpha0+ (abea0d6647c7f1f7e76c73c26cb80e6a67dc5111) / Ubuntu.

Bibisected to the following commit using repo bibisect-44max. It's the same result as for bug 133975.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=133d6d8d4dec497276c3a9b0ba6761cffd322f81
author		Oliver-Rainer Wittmann <orw@apache.org>	2014-07-15 12:15:37 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2014-07-16 09:01:02 +0100

Resolves: #i121443# register text frames and graphics...
Comment 4 Telesto 2020-07-30 19:22:24 UTC
Created attachment 163792 [details]
Example file 2 (only slow loading. no wrap issue)
Comment 5 Telesto 2020-07-30 19:44:06 UTC
@Caolán
Any idea why this and bug 133975 is happening. You're not the author, but did commit this. 

As for bug 133975, I assume this commit only accelerating something. They empty page issue is certainly not new (Enough goes back to OoO days based on my reported bugs); but the commit isn't helping either
Comment 6 Caolán McNamara 2020-07-31 09:36:11 UTC
no idea, those are just merges of the AOO work when it was still an active project
Comment 7 Xisco Faulí 2021-04-14 19:11:52 UTC
Created attachment 171207 [details]
How the document looks before the commit
Comment 8 Xisco Faulí 2021-04-14 19:12:29 UTC
Still reproducible in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: a199e4ea389c934d169a178433f4b94033e60f93
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 9 Xisco Faulí 2021-04-14 19:15:08 UTC Comment hidden (no-value)
Comment 10 Justin L 2023-03-27 23:16:53 UTC
This is an extremely fake example, where one paragraph takes up multiple pages, and images aren't anchored intelligently at all. So we get layout glitches.

It seems pointless to have this bug report existing. There is a LOT of layout churn just trying to get the algorithm to stabilize.
Comment 11 Justin L 2023-04-18 15:24:01 UTC
*** Bug 147155 has been marked as a duplicate of this bug. ***
Comment 12 Justin L 2023-04-19 12:27:43 UTC
https://gerrit.libreoffice.org/c/core/+/150637 is debug statements for related META bug 154703 comment 11's attachment 186670 [details] layout issues. Too many pathways for my brain to handle, and to much wrong on a grand scale - not just a minor wrong calculation but fundamental issues here. Fundamental issues on a fragile base is not somewhere I should be.
Comment 13 QA Administrators 2025-04-19 03:10:56 UTC
Dear Telesto,

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
Comment 14 Telesto 2025-04-19 07:46:13 UTC
Still present
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7fac8458e35620b9855cc6c68a9675159a849b65
CPU threads: 8; OS: macOS 14.7.4; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded