Bug 149530 - Under the draw tab in Notebookbar, the position tool does not work correctly.
Summary: Under the draw tab in Notebookbar, the position tool does not work correctly.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-12 08:27 UTC by PJF
Modified: 2022-06-12 22:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen shot of position button and selected shape on writer page. (40.82 KB, image/png)
2022-06-12 08:29 UTC, PJF
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PJF 2022-06-12 08:27:27 UTC
Description:
I place a shape on the writer page, I select bottom, but the shape goes to the top of the page instead of to the bottom. The other position button work correctly.

Actual Results:
Click on draw. 
Insert a shape.
click on bottom position button.

Expected Results:
The shape moved to the bottom of the page instead of to the top of the page.


Reproducible: Always


User Profile Reset: No



Additional Info:
Moved the shape to the required position on the page.
Comment 1 PJF 2022-06-12 08:29:00 UTC
Created attachment 180684 [details]
Screen shot of position button and selected shape on writer page.
Comment 2 raal 2022-06-12 21:27:34 UTC
Confirm with Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: d4123356c61db269651e950a0a2cc93e6d801c90
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

Works in Draw correctly.

The context menu Align was enabled in commit 1a72dbb390e9cf6e61b6503f3c575ba531d547d8 and Bottom option move shape up.

Adding Cc: to Maxim Monastirsky; Could you possibly take a look at this one?
Thanks
Comment 3 Maxim Monastirsky 2022-06-12 22:31:02 UTC
(In reply to raal from comment #2)
> Works in Draw correctly.
Writer is more complex than Draw. In Writer we take anchor settings into account. The default anchor is "To Paragraph", so "align to bottom" would mean in this context "align to the bottom of the paragraph".

> The context menu Align was enabled in commit
> 1a72dbb390e9cf6e61b6503f3c575ba531d547d8
The commit message clearly says "Just exposes the existing position settings from the "Position and Size" dialog." So whatever is done by the dialog is just exposed by these commands.