Bug 156419 - Section within Linked Frames Will Not Continue Beyond Page
Summary: Section within Linked Frames Will Not Continue Beyond Page
Status: CLOSED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.5.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Michael Stahl (allotropia)
URL:
Whiteboard: target:24.2.0 target:7.6.1 target:7.5...
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Frame Section
  Show dependency treegraph
 
Reported: 2023-07-21 22:34 UTC by zaakari
Modified: 2023-09-20 08:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example document with linked frames (13.34 KB, application/vnd.oasis.opendocument.text)
2023-07-21 22:37 UTC, zaakari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zaakari 2023-07-21 22:34:42 UTC
Description:
I just updated LibreOffice to version 7.5.5.2 (not sure what the last version was), and now sections within frames will not continue on to subsequent linked frames on other pages when their text-content exceeds the frame's size (though they still properly continue to other linked frames within the same page).

Note: both sections and linked frames on their own will correctly move to the second page; it's just when a section is placed into a linked frame that this functionality stops working (though it used to work).

Steps to Reproduce:
1. Create a new document.
2. Press Ctrl + Enter to create a second page.
3. Insert a frame onto the first page, and another onto the second page.
4. Within the first frame's Properties > Options > Sequence, choose the second frame for the "Next link".
5. Insert a section into the first frame (number of columns doesn't matter).
6. Type text into the first frame's section until it exceeds the frame's height.

Actual Results:
Text within the first frame's section disappears off the end of the frame.

Expected Results:
Text extending beyond the first frame should move to a section in the frame on the second page.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-CA (en_CA.UTF-8); UI: en-US
7.5.5-1
Calc: CL threaded
Comment 1 zaakari 2023-07-21 22:37:19 UTC
Created attachment 188516 [details]
Example document with linked frames

You can use the attached example document to see the issue if you don't want to make your own.
Comment 2 Regina Henschel 2023-07-21 23:47:00 UTC
It works in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f1830bff71847a9c17715cff52383956719847fe
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
(January 2023)

It is broken in Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 20873f073ae4a9478f0a84355f779a2176bd2ec8
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
(~28. May 2023)

It works in Version: 7.5.4.0.0+ (X86_64) / LibreOffice Community
Build ID: 0d0841dc8faccc7d7d3d8d463916dd73a7c061a1
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
(~15. May 2023)
Comment 3 raal 2023-08-14 18:25:41 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.5.
Adding Cc: to Michael Stahl ; Could you possibly take a look at this one?
Thanks
 d43dce3389e86d41575cb744cd8527273ebd7554 is the first bad commit
commit d43dce3389e86d41575cb744cd8527273ebd7554
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Tue Jun 27 19:26:11 2023 +0200

    source 425a252c3cc5e5a79a533965026dd4af6b8df739

151889: tdf#155324 sw: layout: try not to MoveFwd onto a page created by page break | https://gerrit.libreoffice.org/c/core/+/151889
Comment 4 Commit Notification 2023-08-18 16:56:51 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/987fe1175de2db53235cc6f2441335fcc3548d64

tdf#156419 sw: layout: don't prevent moving between linked flys

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Michael Stahl (allotropia) 2023-08-18 16:58:56 UTC
fixed on master
Comment 6 Commit Notification 2023-08-21 14:43:50 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/3257c0843d77e3c8f8d91702575ce1680d680c42

tdf#156419 sw: layout: don't prevent moving between linked flys

It will be available in 7.6.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2023-08-23 19:11:34 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/a445d8bda04c5daf3bb2d86bd25e53bca2646c90

tdf#156419 sw: layout: don't prevent moving between linked flys

It will be available in 7.5.7.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Commit Notification 2023-08-30 10:36:04 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-7-5-6":

https://git.libreoffice.org/core/commit/a5153d28700d8743fa7e629e359a9e46b8115b64

tdf#156419 sw: layout: don't prevent moving between linked flys

It will be available in 7.5.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 noblekeon 2023-09-20 02:27:03 UTC Comment hidden (spam)
Comment 10 Michael Stahl (allotropia) 2023-09-20 08:20:04 UTC
closing bug to prevent further spamming