Bug 152793 - Frame anchored to page following manual page break migrates to previous page as text is added before the break
Summary: Frame anchored to page following manual page break migrates to previous page ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2023-01-01 18:49 UTC by christos
Modified: 2023-03-17 12:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
1 - Starting position of frame (80.70 KB, application/vnd.oasis.opendocument.text)
2023-01-01 18:52 UTC, christos
Details
2 - Frame before page break (110.89 KB, application/vnd.oasis.opendocument.text)
2023-01-01 18:54 UTC, christos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christos 2023-01-01 18:49:28 UTC
Description:
The effect of this bug is that frames of figures that are placed in a separate chapter or appendix and anchored to its pages move in unexpected ways as text is added to the document elsewhere. Although anchored to the page, frames cross manual page break boundaries (see detailed example below).

Steps to Reproduce:
1. Start with attachment 1, which has two pages separated by a manual page break. A frame is anchored to the second page.
2. Add text to the first page, so that there is more text than can fit on it.

Actual Results:
See attachment 2.
a) As expected, the portion of the text that does not fit on the first page is placed on a new page, before the page break.
b) Unexpectedly, the frame is now on the new page, BEFORE the break.

Expected Results:
The expected position of the frame is on the page following the page break, which is now the third page in the document.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 christos 2023-01-01 18:52:07 UTC
Created attachment 184425 [details]
1 - Starting position of frame
Comment 2 christos 2023-01-01 18:54:26 UTC
Created attachment 184426 [details]
2 - Frame before page break
Comment 3 Buovjaga 2023-03-17 12:31:23 UTC
I reproduce, already in 3.5 on Linux. However, anchoring to page is a misguided concept in itself and that is why the command was removed from the UI some releases ago.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f0ff4243d45b11f372a2ed824fbb8806de9cb595
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 17 March 2023