Bug 99646 - Make default type of anchoring optional
Summary: Make default type of anchoring optional
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 132962 (view as bug list)
Depends on:
Blocks: Anchor-and-Text-Wrap Object-Selection-Alignment
  Show dependency treegraph
 
Reported: 2016-05-03 12:27 UTC by Mamoth
Modified: 2020-06-15 19:53 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mamoth 2016-05-03 12:27:27 UTC
Hello.

I am here to suggest a new setting.

When one inserts an object into a LO Writer document, either through the Insert menu or by copy-pasting, the object (be it an image or a graph from LO Calc) is inserted with by default the type of anchoring (right-click on object and select 'Object' or 'Format image' or 'Image' depending on the version of LO) set to "to paragraph".

This has been so since I started using LO more than ten years ago.
And since then, I have almost always had to change manually the anchoring of nearly all the images and objects I have inserted in Writer documents to "as character".

For years I have been searching for a way to change this default setting and set it so that the default type of anchoring when inserting an object is "as character". It would be handy if it was possible to set this default value for the software somewhere in its settings (menu Tools > Options).

I believe I am not the only one in this situation and that others would also find it handy.
Comment 1 Cor Nouws 2016-05-03 18:26:20 UTC
Thanks for filing Mamoth

Set to New.

(I would swear I've seen a similar issue, but cannot find it..)
Comment 2 Cor Nouws 2016-05-03 18:26:31 UTC Comment hidden (obsolete)
Comment 3 Ahiijny 2018-10-25 06:08:40 UTC
I would also like this. I normally anchor images as character, so it's a real hassle having to change the anchor every time I paste something into my document. MS Word by default pastes images in line with text, and that's what I'm used to.

See also:
- (2012-10-30) AskLO: https://ask.libreoffice.org/en/question/7295/how-do-i-change-the-default-image-anchoring-to-as-character/
- (2013-02-12) SU.SE: https://superuser.com/questions/550240/make-libreoffice-writer-insert-pictures-as-character-by-default
- (2015-05-29) AskLO: https://ask.libreoffice.org/en/question/51311/libreoffice-writer-428-how-do-i-change-the-default-image-anchor-to-character-has-this-bug-been-fixed/
- (2016-08-12) AskLO: https://ask.libreoffice.org/en/question/75019/change-default-template-image-anchor-to-as-character/
- (2017-04-27) AskLO: https://ask.libreoffice.org/en/question/93610/image-as-character-as-default/
Comment 4 csongor 2018-11-06 12:48:13 UTC
(In reply to Cor Nouws from comment #1)
> Thanks for filing Mamoth
> 
> Set to New.
> 
> (I would swear I've seen a similar issue, but cannot find it..)

Here is it from the OOo ages: https://bz.apache.org/ooo/show_bug.cgi?id=19814

As it can be seen, this request is more than 15 years old. 

I would put this setting under the newly created Tools -> Options -> LibreOffice Writer -> Clipboard Options dialog. There could be a couple of things:

- Paste Image:
 - Anchor: To Page / To Paragraph / To Character / As Character
 - Wrap: Wrap Off / Page Wrap / ...
 - Alignment: Align Left / Centre Horizontally / Align Right / ...
- Paste Spreadsheet
 - Anchor: To Page / To Paragraph / To Character / As Character
 - Wrap: Wrap Off / Page Wrap / ...
 - Alignment: Align Left / Centre Horizontally / Align Right / ...
 - Formulas: Keep Formulas / Substitute With Current Value
- ...

Seeing for how long users wish this feature, it would really be nice to have it.
Comment 5 laurens 2019-06-09 19:38:14 UTC
Also want this - I write technical reports with lots of images (10-40 per document)

LO handling of images only works (for me) when I anchor as character - otherwise it's a mess (and has some bad CPU usage bugs as well that I have reported). 
Suffice to say that anchor as character is mandatory for me to use LO.

Workflow would be much better if this was a default setting.

L
Comment 6 Cor Nouws 2020-02-22 21:17:51 UTC
Hi Mamoth,

Can you pls test in a recent version (6.4.0).
There have been done recent changes in this area...
thanks!
Comment 7 Heiko Tietze 2020-04-16 13:35:54 UTC
We discussed this topic in the design meeting. While we intentionally decided to change the default to "To Character" there might be also scenarios where other anchors make sense. The idea discussed in bug 87720 to just remember the last used option is not ideal since, for example, user want to change anchoring for just one image but have to reset the default next time. So we decided to introduce radio buttons under Tools > Options > Writer > Formatting Aid that allow to change the default from _To Character_ to any other option.
Comment 8 Regina Henschel 2020-05-11 23:45:11 UTC
*** Bug 132962 has been marked as a duplicate of this bug. ***
Comment 9 Telesto 2020-05-12 07:09:37 UTC
(In reply to Heiko Tietze from comment #7)
> We discussed this topic in the design meeting. While we intentionally
> decided to change the default to "To Character" there might be also
> scenarios where other anchors make sense. The idea discussed in bug 87720 to
> just remember the last used option is not ideal since, for example, user
> want to change anchoring for just one image but have to reset the default
> next time. So we decided to introduce radio buttons under Tools > Options >
> Writer > Formatting Aid that allow to change the default from _To Character_
> to any other option.

To be clear.. this only about images... and only for the ones inserted in Writer (not copy paste ones from Impress/Draw)