Created attachment 137283 [details] Reproducer document. Steps to reproduce: 1) Open the attached bugdoc. 2) Make sure the LibreOffice window is large enough, so that page 2 is on the right hand side of page 1, not below. If necessary, enable multi-page view on the toolbar. 3) Press enter while the cursor is at the start of the document. Expected: The (nested) table has 1 less rows on page 1, and 1 more rows on page 2. Actual: Table2:C5 and Table2:D5 is no longer painted. This seems to be different to the other section vs table bugs I fixed in the near past, this one is a problem we inherited from OOo, not a master-only regression.
Created attachment 137284 [details] How it looks like currently.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=cb8b20ab3aa3f790d4979385874cdd4e2a87221b tdf#113445 sw: avoid hitting loop control with a dozen of in-table sections It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.