Bug 169321 - Writer frames overlap even with `Allow overlap` disabled
Summary: Writer frames overlap even with `Allow overlap` disabled
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Frame
  Show dependency treegraph
 
Reported: 2025-11-07 15:29 UTC by dolezvo1
Modified: 2025-11-08 17:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Frames anchoring to different paragraphs (23.85 KB, image/png)
2025-11-07 15:29 UTC, dolezvo1
Details
Frames anchoring to the same paragraph (26.52 KB, image/png)
2025-11-07 15:30 UTC, dolezvo1
Details
(ODT) Frames anchoring to different paragraphs (12.63 KB, application/vnd.oasis.opendocument.text)
2025-11-07 15:30 UTC, dolezvo1
Details
(ODT) Frames anchoring to the same paragraph (12.58 KB, application/vnd.oasis.opendocument.text)
2025-11-07 15:30 UTC, dolezvo1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dolezvo1 2025-11-07 15:29:03 UTC
Description:
It appears that the `Allow overlap` setting doesn't really work. More specifically, it appears that whether two frames will overlap depends primarily on whether they are anchored to the same paragraph (in which case they don't overlap) or not (in which case they do overlap).

Steps to Reproduce:
1. Have two frames on the same page anchoring to two different paragraphs.
2. Have a frame style with position Top and overlap disabled.
3. Apply the style to the frames

Actual Results:
The frames will layout at the top, overlapping

Expected Results:
The frames should layout at the top, but not overlap. The frames layouting at the top while not overlapping appears to occur only when the frames are anchored to the same paragraph, which is unexpected.


Reproducible: Always


User Profile Reset: No

Additional Info:
I first noticed this behaviour on 26.2, but I can replicate it on much earlier versions. Based on the correspondence on the forum ((https://ask.libreoffice.org/t/style-frames-to-be-at-an-edge-but-not-overlap/128613/6)), it might potentially depend on the OS, as I use Windows, and it supposedly works correctly on Linux.
Comment 1 dolezvo1 2025-11-07 15:29:43 UTC
Created attachment 203803 [details]
Frames anchoring to different paragraphs
Comment 2 dolezvo1 2025-11-07 15:30:03 UTC
Created attachment 203804 [details]
Frames anchoring to the same paragraph
Comment 3 dolezvo1 2025-11-07 15:30:31 UTC
Created attachment 203805 [details]
(ODT) Frames anchoring to different paragraphs
Comment 4 dolezvo1 2025-11-07 15:30:55 UTC
Created attachment 203806 [details]
(ODT) Frames anchoring to the same paragraph
Comment 5 Dieter 2025-11-08 17:09:17 UTC
I confirm it with

Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Steps:
1. Open attachment 203806 [details]
2. Select second frame
3. Drag anchor of the frame to the third paragraph

Actual result
Overlapping

Expected result:
No overlapping

Additional information
If you drag anchor of first frame you get no overlapping. So at least current behaviour is inconsistent