Date: prev next · Thread: first prev next last
November 2019 Archives by date, by thread · List index


https://bugs.documentfoundation.org/show_bug.cgi?id=120469

--- Comment #4 from Mike Kaganski <mikekaganski@hotmail.com> ---
(In reply to Heiko Tietze from comment #3)
Adding paragraphs above moves the object, so effectively the anchor is set
to the end of the previous paragraph.

As far as I know, there is no "adding paragraphs above" function in writer's
normal text. When your cursor is inside a paragraph, it's *inside* the
paragraph; its position is "M leading paragraph characters to the left of the
cursor; N trailing paragraph characters to the right of the cursor". The M and
N vary, and M might be 0, but the principle doesn't change. And when the cursor
is at 3rd character, and Enter is pressed, no one would be surprised that the
image anchored to the paragraph stays with the first two characters that stay
where they were.

As I said in comment 1, special-casing of position 0 makes sense - because it
might be intuitive; or because it's currently no means to move images anchored
to very first paragraphs without re-anchoring. But the implementation needs
discussing. I see the following options:

1. Make only the very first position in the document special: because for other
places in the document, you always can insert paragraphs before this one by
putting cursor at the end of the previous paragraph.

2. Make any paragraph's start special (may possibly create other inconveniences
for users not expecting that, but I cannot invent a case at the moment).

3. Introduce an "Insert paragraph above this" special function, using
Alt+Enter, *consistent with behaviour in the beginning of a table*. IMO that
would introduce consistency and avoid special-casing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.