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

            Bug ID: 167397
           Summary: WRITER: Frame incorrectly positioned in case of split
                    paragraph
           Product: LibreOffice
           Version: 25.2.4.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 201678
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201678&action=edit
Examples of incorrect frame positioning

This is a follow-up for
https://ask.libreoffice.org/t/anchor-snapping-problems/124066

OP wants to add some sentinel at bottom of paragraph. For example sake, I built
a sample file with a text frame containing word "sentinel" but the design can
be more complicated.

The frame is styled with "BottomFrame":
- horizontal position: center relative to paragraph text area
- vertical position: bottom of paragraph text area
- keep inside text boundaries enabled
- wrap off with small spacing
- borders enabled to see limits of frame

The sample file starts with a small paragraph and the frame appears where it is
expected.

Then, there are "lorem ipsum" paragraphs which are all split by page break.
Every paragraph has the same frame anchored to it.

As can be seen, the frame is not laid out at bottom of paragraph but to a
rather random position (however most of the time in page of paragraph end). The
weirdest positioning error occurs on the "Aliquan velit" paragraph where the
frame is sent into a blank page after document end.

I initially thought that Writer used the full paragraph height from the start
of the page, ignoring paragraph split (this seems to be the case for last
occurrence) but this does not account for positioning near the top of the page
in 2nd and 3rd occurrence.

Changing anchor from To paragraph to To character (and optionally moving the
anchor to last character) has no effect because position parameters refer to
paragraph reference, not character.

Unticking Keep inside text boundaries changes position of frames but it is
still faulty.

Positioning of frames is the topic of several bug reports, so this may be
related to at least bug 125336 and bug 154126.

Local configuration: LO 25.2.4.3 (x86_64) under Fedora 42 with KDE Plasma
desktop.

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

Reply via email to