Created attachment 197681 [details] Example file from Word 2016 Attached example file contains legacy text form controls with 6 pt before-after paragraph spacing set inside a table. These settings are correctly imported into Writer, but not applied as there is no spacing from the top of the table cell. 1. Open attached file -> Grey form controls stick to the top of the table cell Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 83910246044c1e05a3b50e25d21ac6a31566cc38 CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded This seems to have been broken sometime recently in 25.2x, until 24.8 it was good.
Seems to be a side effect from https://git.libreoffice.org/core/+/f806fc136b3410ec9a1e09320d100c78b33c867b commit f806fc136b3410ec9a1e09320d100c78b33c867b [log] author Oliver Specht <oliver.specht@cib.de> Thu Jun 13 14:49:16 2024 +0200 committer Thorsten Behrens <thorsten.behrens@allotropia.de> Tue Jul 30 22:42:11 2024 +0200 tdf#137335 calculate paragraph height in RTF/DOCX
Oliver Specht committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/43b9ab55a3b6ac1497bcadd6a71a5a133ece4d3d tdf#163956 calculate line height differently in FORMTEXT It will be available in 25.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.