Bug 87742 - When image anchor is set to 'As Character' it should set vertical align to top
Summary: When image anchor is set to 'As Character' it should set vertical align to top
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2014-12-26 12:34 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-08-10 13:30 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
align center vs align top (221.21 KB, image/png)
2014-12-26 12:34 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-12-26 12:34:00 UTC
Created attachment 111368 [details]
align center vs align top

When an image is changed from another anchor setting to 'As Character' the vertical alignment is always set to align center (.uno:CommonAlignVerticalCenter) resulting in the image appearing centered vertically on the line pushing text above an below it on another lines. Instead, it should be set to align top (.uno:CommonAlignTop) which only pushes text above it, the same way that if you have larger text on a line, it only pushes text above it.
Comment 1 Cor Nouws 2014-12-28 20:00:51 UTC
Hi Jay,

I'm undecided about this one..
Comment 2 A (Andy) 2015-01-02 17:54:25 UTC
For me it would depend on the specific circumstances (mostly probably at the end of a sentence Base At Bottom, within a sentence Base At Top, for a bulleted list Base in Middle).
Therefore, I am also a little bit undecided, but probably I would also prefer Base At Top as a standard.

@Jay and Cor: I experienced in this respect another thing.  I can't see which alignment is used for the image.  For the function ANCHOR I can see it with the dot, but for ALIGNMENT I can't see it.  Therefore, I think the used alignment should be highlighted in any way.
Comment 3 Yousuf Philips (jay) (retired) 2015-01-02 23:24:04 UTC
(In reply to A (Andy) from comment #2)
> Therefore, I am also a little bit undecided, but probably I would also
> prefer Base At Top as a standard.

One of the reasons to recommend this was also that all office suites that use 'As Character' set it as align top, and none of them have vertical alignment options.

> @Jay and Cor: I experienced in this respect another thing.  I can't see
> which alignment is used for the image.  For the function ANCHOR I can see it
> with the dot, but for ALIGNMENT I can't see it.  Therefore, I think the used
> alignment should be highlighted in any way.

The alignment buttons simply set the position of the image according to its margins and you cant think of it the same way that you think of text alignment.
Comment 4 Cor Nouws 2015-01-03 10:16:56 UTC
(In reply to A (Andy) from comment #2)

> @Jay and Cor: I experienced in this respect another thing.  I can't see
> which alignment is used for the image.  For the function ANCHOR I can see it
> with the dot, but for ALIGNMENT I can't see it.  Therefore, I think the used
> alignment should be highlighted in any way.

Indeed. IIRC that is an already older bug: the menu doesn't show which one is currently selected.
Comment 5 Robinson Tryon (qubit) 2016-08-25 04:21:34 UTC Comment hidden (obsolete)
Comment 6 Heiko Tietze 2017-11-10 14:53:09 UTC
On the agenda for the design team.
Comment 7 Yousuf Philips (jay) (retired) 2017-11-22 19:17:31 UTC
Regina, Stuart: any thoughts on this?
Comment 8 Heiko Tietze 2017-11-22 20:28:40 UTC
Design team was split about whether this change is beneficial or just unneeded. But there was no objection to do it.