Created attachment 121340 [details] How it looks like currently This is a follow-up for bug 96515. How to reproduce: 1) Start Writer. 2) View -> Hide Whitespace 3) Press "enter" e.g. 5 times, notice how the page height is now larger, good. 4) Press "backspace" 5 times. 5) Notice how the page height is unchanged. Expected: layout shrinks the page height after keyboard delete shrinks the content height. Actual: page height is unchanged.
Created attachment 121341 [details] How it should look like, I guess.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=72f0067258fd7738217abd43452abe282e05c11b tdf#96536 sw Hide Whitespace: shrink oversized page frames on para delete 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=d3584878aee1bee36e9cc18e58a75dbc95b3e283&h=libreoffice-5-1 tdf#96536 sw Hide Whitespace: shrink oversized page frames on para delete It will be available in 5.1.0.2. 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.