Bug 155238 - An empty paragraph loads with different line height in 7.5
Summary: An empty paragraph loads with different line height in 7.5
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:7.6.0 target:7.5.4
Keywords: bibisectNotNeeded, regression
Depends on:
Blocks:
 
Reported: 2023-05-10 19:01 UTC by Mike Kaganski
Modified: 2024-11-04 20:30 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
An empty paragraph changes font height in 7.5 (1.19 KB, application/vnd.oasis.opendocument.text)
2023-05-10 19:01 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
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.