Created attachment 87189 [details] DOCX containing an empty header Problem description: When LO imports a document with no header\footer - and exports it back to DOCX - the header has a distance of 0 from the top (instead of 36) and the footer has a distance of 0 from the bottom (instead of 36). Steps to reproduce: 1. Load attached DOCX in LO 2. Save as NEW.DOCX 3. Load NEW.DOCX in Word 4. Header is in distance of 0 from top, footer in distance of 0 from bottom Current behavior: In exported file the header is in distance of 0 from top, footer in distance of 0 from bottom Expected behavior: In exported file the header should be in distance of 36 from top, footer in distance of 36 from bottom Please Note ! If you 'inspect' the file in Word and remove the document information - this problem doesn't happen (so don't do it if you want to reproduce the bug). Operating System: All Version: 4.2.0.0.alpha0+ Master
Created attachment 87190 [details] DOCX exported by LO with wrong header distance from top and wrong footer distance from bottom
Created attachment 87191 [details] Screenshot comparison between original DOCX and exported DOCX
I don't have MS Word to test, so please give an update of the bug status with current LibO 4.3.2.2 or 4.4.0.0 master I set status back to UNCONFIRMED since the status NEW has to be set only after independent confirmation by another user
** 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 on a currently supported version of LibreOffice (5.0.4 or later) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) 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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-12-20
What happens if top margin is less than the default 720? Word still uses header=720 - it doesn't come into effect until the header is enabled, so just a default. fix proposed at https://gerrit.libreoffice.org/59523
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7413216e02be9b2f8eb39d550c297021e92ef299 tdf#70195 docx export: default header/footer at 720 It will be available in 6.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.
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/63b32bff885169ef77f86b205257fb573da7b70c%5E%21 Revert "tdf#70195 docx export: default header/footer at 720" It will be available in 6.3.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.
Problems found with the patch so it is reverted in master and proposed to be reverted in 6.2, where it was first introduced. https://gerrit.libreoffice.org/67020
Justin Luth committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/7a527a9e61bccf7a8b02ed80a9a3075261be81f9%5E%21 Revert "tdf#70195 docx export: default header/footer at 720" It will be available in 6.2.1. 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.
somehow, the regression was tied to bug 113849 comment 13
Marking as very trivial, since this ONLY affects a WORD user when they want to ADD a header/footer. In that case, it will be touching the edge of the page instead of the default of 1.25cm from the edge. The user would need to change the "layout" of the "Page" to adjust that value. But it is not trivial to fix, because things get messy with exactly what the values mean, and how dynamic spacing interoperates.
*** Bug 136065 has been marked as a duplicate of this bug. ***