Bug 160454 - Writer: "Align bottom to anchor" makes object go over footnotes
Summary: Writer: "Align bottom to anchor" makes object go over footnotes
Status: RESOLVED DUPLICATE of bug 129441
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.6.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 11:33 UTC by tpypta
Modified: 2024-04-21 11:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screencast of the weird behaviour (3.66 MB, video/webm)
2024-04-20 17:58 UTC, tpypta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tpypta 2024-04-01 11:33:22 UTC
Description:
When there is a image with caption, with anchor set to "Paragraph", "Align bottom to anchor" makes object go over footnotes.

Steps to Reproduce:
1. Open a new .odt in Writer
2. Add some text and a footnote
3. Add an image with a caption.
4. Set the object anchor to Paragraph
5. Click "Align bottom to anchor", so that the image goes to the bottom of the page.

Actual Results:
The object goes over the footnotes.

Expected Results:
The object shall align above the footnotes.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.5.2 (X86_64)
Build ID: 60(Build:2)
CPU threads: 16; OS: Linux 6.7; UI render: default; VCL: gtk3
Locale: bg-BG (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Dieter 2024-04-20 10:14:52 UTC
I can't confirm with

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7c2ed9919d6d9d286d9062b91577d6bb2b7de8aa
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Tpypta, Could you please retest with master or at least with LO 24.2? Thank you.
=> NEEDINFO
Comment 2 tpypta 2024-04-20 17:58:33 UTC
Created attachment 193771 [details]
Screencast of the weird behaviour

Thank you very much for checking the bug report! I'm attaching a screencast of the weird positioning behaviour. I've tested it with latest LibreOffice from Flathub. It turns out that it's happening when the paragraph to which the image is anchored continues on next page.
I've also managed to find a workaround. Instead of using Align Bottom to Anchor, using Align Top to Anchor whilst the image is anchored to the next paragraph, does the job with the positioning.
Comment 3 Dieter 2024-04-21 11:55:02 UTC
Thank you. Now I can reproduce (I've tested with image anchored to paragraph in footnote area). But the beviour is independent from alignment and has been reported in bug 129441. So I mark it as duplicate. Feel free to change it back to UNCONFIRMED with a short reasoning, if you disagree.

*** This bug has been marked as a duplicate of bug 129441 ***