Created attachment 200027 [details] Example file from Word 2016 Attached example file has a paragraph with the "Spacing before" set to "auto" in its paragraph style, then overridden to 0 with direct formatting. This override used to work, but now the paragraph is opened with 0.18 cm Above paragraph spacing. 1. Open attached file -> the XXXX paragraph has Above paragraph spacing of 0.18 cm instead of 0. Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a2741c9e6083016bba82fa9be06e157a18aaaf07 CPU threads: 14; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded Started with: https://git.libreoffice.org/core/+/38464825c8c80eed0d9b328a89cd96eb27175a0e%5E%21 author Oliver Specht <oliver.specht@cib.de> Thu Feb 27 11:18:23 2025 +0100 committer Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Fri Mar 07 15:45:20 2025 +0100 tdf#165483 style inherits only repated properties
Created attachment 200028 [details] Screenshot of the document in Word 2016 and Writer master
Created attachment 200045 [details] Another example file with fixed value of above spacing overridden
Created attachment 200046 [details] The second example in Word and Writer
Oliver Specht committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/1a081416db0b89a392bcb187a9792b9b6fc75dbb tdf#165923 top margin import fixed It will be available in 25.8.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.
Oliver Specht committed a patch related to this issue. It has been pushed to "libreoffice-25-2": https://git.libreoffice.org/core/commit/2b7705dd58679664bf018f87a67cb0b9892b4253 tdf#165923 top margin import fixed It will be available in 25.2.3. 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.