Created attachment 141642 [details] Reproducer document. Steps to reproduce: 1) Open the attached file. 2) Observe the number of pages in the resulting document. Expected result: 3 pages, since there are 2 \page control words in the document. Actual result: the document is only of 2 pages.
Reproduced also in Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Bisect points out e3f254ab8211fbab7541cde2100a35c875b0c240, and luckily also gives a hint on what to fix. :-)
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4a93b46e4652e73ed3460e4c66999d94e50db4b7 tdf#117246 RTF import: don't loose page breaks inside nested groups It will be available in 6.1.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-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fc1ee8a8473beadbf5d364e059bba6c8006562af&h=libreoffice-6-0 tdf#117246 RTF import: don't loose page breaks inside nested groups It will be available in 6.0.5. 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.