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

--- Comment #35 from Telesto <tele...@surfxs.nl> ---
Created attachment 184510
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184510&action=edit
Screencast (gif)

I aware reviving a bug isn't really appreciated. However the fix for bug 120469
is resulting in a disturbing user workflow, IMHO. The side-effects of the fix
are not outweighing the benefits, if you ask. 
I do see bug 120469 as a valid request, though. However the side-effect are
making me question if it should be fixed this way. I’m often in a fight with
Writer. 

Press Enter with cursor at the beginning of paragraph with text or an empty
paragraph, and image anchored to that paragraph, causes number of effect:

* adds paragraph above the image (surprise). Normally a paragraph being added
below
* the cursor doesn't move; still at the bottom . Normally the cursor moves with
to the newly created paragraph, so downwards (surprise).
* You can set Wrap to Optimal, the paragraph will go the side, but you’re
unable to press Enter, to add additional paragraph next to the image
* You can't press Enter in table cell (to add paragraph below)
* Press ALT+ENTER below an image, will include the image (if the paragraph
empty)

See screencast.

All those issues didn’t exist before the bugfix for bug 120469. 

------------
What is bug 120469 about. Idea: pressing Enter at the start of the paragraph
(33 33) to move 33 33 down (creating an empty paragraph between 22 22 and 33
33) including moving the image anchor.  

Anchor will only be included if you place the cursor explicitly at the start of
the paragraph. If you move cursor one step to the right (if text pressed) (LTR)
& hit enter it will create paragraph below.

In case of empty paragraph start & end of the paragraph being the same thing.
And Enter (to add new paragraph) is handled as if pressing Enter at the start
of the paragraph. It’s always at the start of the paragraph. Without any means
to switch to the ‘end’ position.
And pressing enter in an empty paragraph with image anchored to it isn't that
uncommon.

By inserting a comment box into an empty paragraph, a distinction is made
between, start & end of the paragraph. The paragraph is visually still empty,
but the behavior changes. If you click inside paragraph with the mouse, you
will be in ‘end’ position. Only if you press arrow left you move to ‘start’ of
paragraph position.

I see two solutions:
A) revert the commit bug 120469 (this has been present for years :-)
B) Mimic the behavior, as if a comment comment box where present in the empty
paragraph. In that case you really need to press arrow left to go beginning.
This should be limited to case of empty paragraph. This would solve the issue
in the majority of the cases.

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

Reply via email to