Created attachment 136190 [details] The problematic document This DOCX document was originally created in Microsoft Office. The document contains text, images (anchored as characters) and page breaks. If we open the document in Microsoft Office 2013, the page breaks are before the images. In LibreOffice Writer the pages breaks are after the images. Steps to reproduce: 1. Open the document (pagebreak-bug.docx) both in LibreOffice and Microsoft Office. Actual results: The page break is at a different location in Writer and Word. Expected results: The document should look identical both in Writer and Word.
Created attachment 136191 [details] Screenshot of the document in LO 5.4 and Word 2013
Confirmed in - Version: 6.0.0.0.alpha0+ Build ID: 383aab7ed63bf30931c1cf89138707d2228b5dce CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group - Version: 4.3.0.0.alpha1+ Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e - Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) - LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
still repro in Версия: 6.1.1.1 ID сборки: 2718b4a18dfcc6a54ebe5f7b801ee7a47fa81e0c Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; Локаль: ru-RU (ru_RU); Calc: group threaded
Created attachment 157728 [details] This_Is_The_Reason_Of_The_Bug In this picture on left there is the original document on right I put an enter symbol at the marked location. This is the key for the solution, because the problem is that the newpage "symbol" in the MSWord and the picture is in the "same" line (yes, I see, they are in different pages but tecnically in one line, and the picture wrapped to the next page, but just because there is not enough space for it, and that is the problem). So the LO removes the newpage symbol and places a new page instead of it. But the picture is in that line what is in the last section. This is the problem. Later, I will try to solve it later, with a dummy symbol maybe...
Created attachment 157729 [details] The_modified_document
Attila Bakos committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e520a4f988bf0ff81e75e37588182af92fed7631 tdf#112342 DOCX import: fix page break before image-only paragraphs It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 7.1.0.0.alpha0+ Build ID: 6b2eff7d69c6e14d89dd33eaa58c01d82c541266 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded @Attila Bakos, thanks for fixing this issue!!
Attila Bakos committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/75f291ff075c4e4106a1f652e8bab629e4edcff7 tdf#112342 DOCX import: fix page break before image-only paragraphs It will be available in 7.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.