Bug Hunting Session
Bug 126247 - The position of an image ( anchor to as-char ) can't be changed while being selected (alignment is disabled)
Summary: The position of an image ( anchor to as-char ) can't be changed while being s...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-05 12:49 UTC by Telesto
Modified: 2019-08-19 09:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (97.88 KB, application/vnd.oasis.opendocument.text)
2019-07-05 12:49 UTC, Telesto
Details
Screencast (350.04 KB, video/mp4)
2019-07-06 12:37 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2019-07-05 12:49:11 UTC
Description:
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


Actual Results:
It's impossible to change alignment with the image selected. The issue will be more prominent with
https://gerrit.libreoffice.org/#/c/75091/


Expected Results:
It feels more natural to be able too. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.0.0.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
Calc: threaded
Comment 1 Telesto 2019-07-05 12:49:27 UTC
Created attachment 152590 [details]
Example file
Comment 2 Regina Henschel 2019-07-06 11:44:01 UTC
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.
Comment 3 Telesto 2019-07-06 12:37:42 UTC
Created attachment 152599 [details]
Screencast

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..
Comment 4 Regina Henschel 2019-07-06 13:21:57 UTC
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.
Comment 5 Heiko Tietze 2019-07-17 03:54:36 UTC
Maybe we should provide an option how images are handled. Could be something integrated with bug 123169 or two selections.
Comment 6 Regina Henschel 2019-07-17 09:53:07 UTC
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.
Comment 7 Xisco Faulí 2019-08-19 09:53:24 UTC
(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 ?