[Libreoffice-bugs] [Bug 133957] Deleting a paragraph with backspace deletes the image (instead of moving up)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 15 13:10:26 UTC 2020


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

--- Comment #7 from Michael Stahl (CIB) <michael.stahl at cib.de> ---
(In reply to R. Green from comment #3)
> 
> 1. Open the attached file. The image has been anchored to a blank paragraph.
> 2. Place the cursor at the start of the paragraph (where the image is
> anchored). Now add the text "abc" (for example).
> 3. Use the arrow keys to move the cursor before the "a". Use Shift + arrow,
> one press at a time.
> 
> EXPECTED RESULT: When all three letters have been selected, the image should
> NOT be selected.
> ACTUAL RESULT: When all three letters are selected, the image is
> automatically selected as well.
> 
> This is clearly anomalous because the image was able to exist on its own in
> the paragraph prior to the addition of the letters, whereas once the letters
> are added the image will be automatically deleted with the text.

https://bugs.documentfoundation.org/show_bug.cgi?id=132321#c16
is a similar scenario.

i agree that this is inconsistent, but i think the way it should work is that
if the entire section is selected, then all flys anchored in it are selected -
even if the section doesn't contain any text, which is a special case that
could be short-cut to do nothing previously.

these commits implement this:

https://gerrit.libreoffice.org/c/core/+/96324
https://gerrit.libreoffice.org/c/core/+/96350/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200615/b999cb7b/attachment.htm>


More information about the Libreoffice-bugs mailing list