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

            Bug ID: 157617
           Summary: Inserting paragraph marks after a picture go
                    unexpectedly
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 190043
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190043&action=edit
Report showing the nasty behaviour and ideas how to improve them

I encountered this nasty behaviour in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b3fdd999f87312447d03915585812b3a5cd48141
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

but I am sure to have seen it in earlier versions too.
If I have a text with an image anchored to a paragraph, entering another
paragraph mark lets the existing paragraph mark descend and the new paragraph
marks go before the picture.

This is really annoying. If I enter a paragraph mark after a picture, I expect
the picture (and its paragraph to stay where they were and the inserted
paragraph mark should appear downwards after the paragraph.

See attached document which show the unpleasant behaviour with screenshots.

The next step triggered by this nasty behaviour causes the next trouble
=======================================================================

If one corrects it by pushing the picture up by paragraphs, the relative
anchoring characteristics gets lost, i.e. if it was centered horizontally and
to the top, it will be anchored to the paragraph to which it was moved, but
with current anchoring according to the mouse movement. Even if one moves the
picture upward vertically (to the best of one’s effort), it does not stay
anchored horizontally centered and to the top. 

For the user interface, *I would recommend to maintain the type of anchoring on
such a mouse movement if it was to left, right top, bottom or centered if the
target position is just another paragraph.* If one really wants to shift the
picture to some individual position by a mouse action, one might do so in
another step without moving the picture to some *other* paragraph. 

So if during a picture moving with the mouse, the horizontal and the vertical
position should be kept frozen if the mouse action moves the picture to some
other paragraph mark than the one, to which it was anchored before. During the
mouse movement, it should jump to that type of positioning when the amount of
movement is large enough to suggest that positioning to another paragraph is
meant. If the user changes her mind and reduces the amount of repositioning
such that the old paragraph would be the anchor point, the real position
according to the mouse movement should be immediately re-established (i.e.
freezing be ended).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to