Created attachment 135932 [details] Reproducer document. Steps to reproduce: 1) Open the attached bugdoc. 2) Move your cursor to the end of the Table1.A2 cell. 3) Press enter. Expected: Table1.D2 stays on page 1. Actual: Table1.D2 is moved to page 2. Seems to be a regression from f8a76d218305a56d15b82b9dac4fafa558872780.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ec262cbc56822d8fffccd6e983848df196cf5c44 tdf#112160 sw: audit GetNextLayoutLeaf() calls in SwFrame::GetNextSctLeaf() 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.