Bug 155238

Summary: An empty paragraph loads with different line height in 7.5
Product: LibreOffice Reporter: Mike Kaganski <mikekaganski>
Component: WriterAssignee: Mike Kaganski <mikekaganski>
Status: RESOLVED FIXED    
Severity: normal Keywords: bibisectNotNeeded, regression
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=158879
Whiteboard: target:7.6.0 target:7.5.4
Crash report or crash signature: Regression By:
Attachments: An empty paragraph changes font height in 7.5

Description Mike Kaganski 2023-05-10 19:01:46 UTC
Created attachment 187191 [details]
An empty paragraph changes font height in 7.5

The attached (generated) file has three paragraphs; first and last have text, and the middle one is empty (but has two empty spans in the markup, defining the same font height as the other paragraphs' text).

In version prior to 7.5 (i.e., in 7.4, and in 3.3), the font height of the middle paragraph is 8 pt. Starting with version 7.5, the font height there is 11.
Comment 1 Mike Kaganski 2023-05-10 19:57:14 UTC
https://gerrit.libreoffice.org/c/core/+/151645
Comment 2 Commit Notification 2023-05-11 16:06:27 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1a88efa8e02a6d765dab13c7110443bb9e6acecf

tdf#155238: Reimplement how ListAutoFormat is stored to ODF

It will be available in 7.6.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.
Comment 3 Commit Notification 2023-05-12 06:50:49 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/c2cfeed369a2b0f6d91d1093d3876357277411c9

tdf#155238: Reimplement how ListAutoFormat is stored to ODF

It will be available in 7.5.4.

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.