Description: The content from the first page is moving to the next page due to the large header height. Steps to Reproduce: 1.Open the attached "Header_Size_Simple.doc" in both LO and MS word. 2.Observe that the last paragraph on the first page is moved to the next page. 3.Observe that the size of the header in both MSO and LO. Actual Results: The content from first page is moved to next page due to the header size. Expected Results: LO should render same as MS word. Reproducible: Always User Profile Reset: Yes Additional Info: Attachments:"Header_Size_Simple.doc","Header_Size_Issue.png" and "Para_moved_Issue.png"
Created attachment 188461 [details] Simple Doc to reproduce
Created attachment 188462 [details] last Para moved to next page
Created attachment 188463 [details] Header Size comparision
Broken in LO 7.0 with commit fbd62e247fd588a595e44cec787fc8944f158777 Author: Samuel Mehrbrodt on Wed May 20 08:41:46 2020 +0200 tdf#128195 Keep spacing below last paragraph in header (docx)
The table was being treated as a "last element" in the header, even though it is followed by a paragraph. The lower spacing was being doubled for every cell in the table. A table cannot be the last "thing" in an MSO header - it is always followed by a paragraph.
Satya committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a3b76c2cb216a55d60fdf8b4533ac02c7f37c005 tdf#156372 sw: Stop adding GetLower to every cell in header table It will be available in 24.2.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.
Satya committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/a3d2630901608a0816bfbc490f695dde7c962952 tdf#156372 sw: Stop adding GetLower to every cell in header table It will be available in 7.6.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.
Satya committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/9c5c63d567be3623d609feda47026631cb48263b tdf#156372 sw: Stop adding GetLower to every cell in header table It will be available in 7.5.6. 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.