Created attachment 124130 [details] Reproducer document The attached document has the following headers in Word: - page 1: "Section 1, odd" - page 2: "Section 1, even" - page 3: "Section 2, odd" - page 4: "Section 2, even" In Writer the page 3 header is empty instead.
This was working before 4dc78aee9bcdb6ea5e9dc47ebb4a4b9e590c725a, though I suspect that just made the previously existing problem in the DOC import visible.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=44a3eb37cd982c59f8350d53db3798b675230b35 tdf#99120 DOC import: fix lack of first share after odd section break 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.
Could it be already backported? Because it's OK also in 5.0.6.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b3afee4b61740b20bb7430bd6bbe25023f705f3a doc/docx: make unit test for tdf#99120 round-tripable It will be available in 5.4.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.
Justin Luth committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b967275f34fbfb86f02937dc35a97defa0c3a996&h=libreoffice-5-3 doc/docx: make unit test for tdf#99120 round-tripable It will be available in 5.3.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.