The position of an image ( anchor to as-char ) can't be changed while being selected (alignment is disabled)
Steps to Reproduce:
1. Open the attached file
2. Click the image -> Not possible to align
3. Place the cursor right or left from the image and change the alignment -> Image position will change.. This slightly different compared to Word
It's impossible to change alignment with the image selected. The issue will be more prominent with
It feels more natural to be able too.
User Profile Reset: No
Version: 22.214.171.124.alpha0+ (x86)
Build ID: c2cb467a1e5194c56bb65706b7965fb2c9241b8f
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-06-29_00:11:35
Locale: nl-NL (nl_NL); UI-Language: en-US
Created attachment 152590 [details]
I do not understand your request. What do you mean by "alignment"?
What I see is, that the wrap-options are disabled. That is correct, because wrap-options are meaning less for "as-character" anchored objects.
And it makes no sense to enable them and assume an automatic change away from 'as-anchor', because it would not be clear, to which kind of anchor it should switch. There are three (with 'to frame' four) options.
Created attachment 152599 [details]
Find it hard to give a proper description. The left/center/right text alignment (CTRL+L/ CTRL+R/ CTRL+E) is disabled if an image is selected. See screencast
So it slightly clumsy to 'move' an image anchored as character. It doesn't behave exactly the same way compared to 'a real character'. It's easy if you know why it insn't working.. but not really user friendly
I don't see the issue of enabling text alignment for the image anchored as character case..
Now it is clear, you mean the paragraph alignment. I would not enable it, because text formatting is context depending. And the paragraph does not belong to the context of the image. It is no problem to deselect the image and change paragraph alignment then.
The problems with moving the image comes from "as-char" setting. I think using "as-char" is not suitable as default. I have added a comment to the commit.
Maybe we should provide an option how images are handled. Could be something integrated with bug 123169 or two selections.
In theory you can select the style, which has to be used, in the open dialog, when you insert an image. So LibreOffice could provide suitable different styles. But that feature is broken for a long time.
(In reply to Regina Henschel from comment #6)
> In theory you can select the style, which has to be used, in the open
> dialog, when you insert an image. So LibreOffice could provide suitable
> different styles. But that feature is broken for a long time.
is there an existing report for it ?