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

            Bug ID: 145802
           Summary: Frame that is anchored to paragraph should need no
                    additional space for its newline character
           Product: LibreOffice
           Version: 7.2.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Create a frame anchored to a paragraph and set its width as relative to
paragraph area, 100% of its width (menu bar > Insert > Frame > Frame > Type >
Relative to = True > Width = 100%).

Put the cursor on the line below the frame and press the Enter key. You can see
that the frame will move down.

(1) This happens because the frame is the same width as the paragraph and
therefore there is no free space on its right side for a newline character,
which is represented in Writer as a blue pilcrow (ΒΆ) (menu bar > View >
Formatting Marks = True).

(2) ...And so, if you reduce the width of the frame to, for example, 95% of
paragraph width, pressing the Enter key on the line below the frame won't move
the frame, since the newline character is on the same line as the frame itself,
and not on your current line. So you will have no problems in such a case.

I would say that behavior described in (1) is not what the user normally
expects. Even more, this behavior is not consistent with how the newline
character is treated in the end of normal paragraphs. If you have a normal
paragraph (i.e., not a frame), you don't need additional space for the newline
character. If there is not enough space, the newline character will be placed
outside the paragraph box, but on the **same** line as the last line of the
paragraph, and not below it.

See the attached image.

Steps to Reproduce:
see above

Actual Results:
see above

Expected Results:
see above


Reproducible: Always


User Profile Reset: No



Additional Info:
see above

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

Reply via email to