Bug 131640 - Allow overlap does not work when vertical position is "Bottom + Page text area"
Summary: Allow overlap does not work when vertical position is "Bottom + Page text area"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2020-03-28 08:51 UTC by jose.velez
Modified: 2024-05-16 13:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (167.22 KB, image/png)
2020-03-28 08:52 UTC, jose.velez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jose.velez 2020-03-28 08:51:58 UTC
Description:
Allow overlap does not work when vertical position is set to "Bottom" respect to "Page text area".

This is a very common configuration because, in a formal text like a book, figures must be at the bottom of the pages instead of in the middle of the pages.

Steps to Reproduce:
1 - Create a text that fulfill two pages with the same paragraph.
2 - Insert two images, both anchored to the first paragraph (or to the first letter of the first page).
3 - Set vertical position for both figures as "bottom" respect "page text area"
4 - For both figures, set "None" in Wrap settings and uncheck "Allow overlap"

Actual Results:
Result: The figures remain overlapped.

Expected Results:
Result: The figures does not overlap.


Reproducible: Always


User Profile Reset: No



Additional Info:
It does not work either with any warp configurations.
Also, It does not work with "top" and "Page text area".
Comment 1 jose.velez 2020-03-28 08:52:57 UTC
Created attachment 159087 [details]
Screenshot
Comment 2 Dieter 2020-03-30 18:39:56 UTC
I've tried to reproduce it and LO crashed

1 - Create a text that fulfill two pages with the same paragraph.
2 - Insert two images, both anchored to the first paragraph (or to the first letter of the first page).
3 - Set vertical position for both figures as "bottom" respect "page text area"
4 - For first image uncheck "Allow overlap"
5 - For first image set "None" in Wrap

LO crashes

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 1c9ced04189c9d23ffea05d5570960b54b05ef28
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: CL
Comment 3 jose.velez 2020-03-30 19:03:05 UTC
Yes. When following theses steps, sometimes LO crashes, but not always.
Comment 4 Dieter 2020-03-31 06:28:20 UTC
(In reply to jose.velez from comment #3)
> Yes. When following theses steps, sometimes LO crashes, but not always.

I've reported this with bug 131729. Would be nice, if you can confirm it. Thanks.
Comment 5 Dieter 2020-04-01 06:50:56 UTC
I've tried again (this time without a crash), but couldn't reproduce. Images doesn't overlap text.
Comment 6 jose.velez 2020-04-01 07:19:33 UTC
The problem is that images overlap between them. 

This is a new feature of LO 6.4 (https://wiki.documentfoundation.org/ReleaseNotes/6.4#Writer, https://vmiklos.hu/blog/sw-shape-allow-overlap.html)

The images do not overlap the text, but the images overlap between them. And this is contrary to the new feature.
Comment 7 jose.velez 2020-04-01 07:20:35 UTC
You can see it in the screenshot attached to this bug page.
Comment 8 Dieter 2020-04-01 07:56:26 UTC
(In reply to jose.velez from comment #6)
> The problem is that images overlap between them. 
> 
> This is a new feature of LO 6.4
> (https://wiki.documentfoundation.org/ReleaseNotes/6.4#Writer,
> https://vmiklos.hu/blog/sw-shape-allow-overlap.html)
> 
> The images do not overlap the text, but the images overlap between them. And
> this is contrary to the new feature.

Thanks for that information. But when I just have to overlapping shapes in a document (like in the video) and disable "Allow overlap" nothing happens. So problem is perhaps much broader?

But with your explanation I confirm the bug report

cc: Miklos Vajna
Comment 9 QA Administrators 2022-04-02 04:49:47 UTC Comment hidden (obsolete)
Comment 10 jose.velez 2022-04-02 15:05:08 UTC
The figure continues overlapping in 7.3 releases.
Comment 11 QA Administrators 2024-04-02 03:12:05 UTC Comment hidden (obsolete)
Comment 12 jose.velez 2024-05-16 09:29:32 UTC
The behavior is the same in 24.2.3.2

"Allow overlaps" does nothing in this case. Moreover, if you deactivate allow overlap in the options of two figures and play a bit with them, you can get them overlapping in any case.
Comment 13 Miklos Vajna 2024-05-16 13:21:18 UTC
Right, the "don't allow overlap" flag works for the scenario from bug 124600, but not in this case; so the handling of this flag needs extending.