Created attachment 121775 [details] Reproducer document How to reproduce: 1) Start Writer. 2) View -> Hide Whitespace 3) Go to the end of the document and press "d" once. Expected: the content fits a single page. Actual: a new page gets created for the new line.
Created attachment 121778 [details] How it looks like currently
Created attachment 121779 [details] How it should look like, I guess.
This is really similar to bug 96515.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6d8da2b2deb4be2182ca1852cec7eb38a4c654eb tdf#96943 sw Hide Whitespace: don't create pages for widow / orphan ... It will be available in 5.2.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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=59ae2d11d5884ffdf77dec95d8cd2566943fd789 Related: tdf#96943 sw Hide Whitespace: add HandleWhitespaceHiddenDiff() It will be available in 5.2.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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=258f344021e7a229ae146e0214af19e45c59c032&h=libreoffice-5-1 tdf#96943 sw Hide Whitespace: don't create pages for widow / orphan ... It will be available in 5.1.1. 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.