Bug 53501 - Wrong line spacing when mixing large fonts with small ones near a box
Summary: Wrong line spacing when mixing large fonts with small ones near a box
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Textbox Paragraph
  Show dependency treegraph
Reported: 2012-08-14 19:01 UTC by Ingo Ruhnke
Modified: 2023-10-03 08:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

example of the bug (19.22 KB, application/vnd.oasis.opendocument.text)
2012-08-14 19:01 UTC, Ingo Ruhnke
Screenshot of the bug (42.47 KB, image/png)
2012-08-14 19:01 UTC, Ingo Ruhnke
another example (51.75 KB, application/vnd.oasis.opendocument.text)
2015-04-29 23:29 UTC, Gordo
Bug still in (45.24 KB, image/png)
2018-06-22 08:16 UTC, Ingo Ruhnke

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Ruhnke 2012-08-14 19:01:05 UTC
Created attachment 65560 [details]
example of the bug

1) Have a large block of text
2) Insert an box to the right side of the text so that the text flows around it
3) Increase the font size of a word at the end of the line near the box so that the word will move to the next line

Problem: The line above the enlarged text is spaced as if it contained the enlarged text.
Comment 1 Ingo Ruhnke 2012-08-14 19:01:35 UTC
Created attachment 65561 [details]
Screenshot of the bug
Comment 2 A (Andy) 2012-12-26 11:37:55 UTC
reproducible with LO (Win7 Home, 64bit)

But this issue needs to be analysed more deeply, because currently I can not explain it to me.

Reproduced with the following steps:
1. Copied the text from the sample document to the EDITOR (to delete any formatting) and then copied it to a new WRITER document (text formatted with Times New Roman 12)
2. Copied the rectangle box from the sample document to WRITER and inserted it after the last word of the text
3. Formatted the word "consectetur" with font size 36 (it also works with other words, but not with all, because this bug occurs only under specific circumstances)
4. Then I moved the box upward until the bug occurs

It is not necessary to have the box on the right side of the page.  It also occurs anywhere else like on the left side or in the middle.  
But unfortunately I can not explain it to me, maybe somebody else has an explanation?
Comment 3 A (Andy) 2014-09-28 17:26:27 UTC
Reproducible with LO (Win 8.1)
Comment 4 Gordo 2015-04-29 23:29:49 UTC
Created attachment 115203 [details]
another example

Still reproducible in

In the attached document, if you select the image and arrow down once then the text with the large font moves up to the line that has the extra space above it.  Because the line is wrapping it still takes into account the space of the text with the large font.  The text just before the large font text does move slightly when moving the image up and down.  Maybe when deciding how to wrap it doesn't go, well we can fit this much of the paragraph before we need to wrap, how big did you say the font was.  The spacing was decided long before there was any thought of an image coming along and bumping things out of the way.
Comment 5 QA Administrators 2016-09-20 09:36:44 UTC Comment hidden (obsolete)
Comment 6 Ingo Ruhnke 2016-09-23 05:47:21 UTC
Bug is still present in
Comment 7 QA Administrators 2018-06-22 02:49:29 UTC Comment hidden (obsolete)
Comment 8 Ingo Ruhnke 2018-06-22 08:15:25 UTC
The bug is still alive and well in LibreOffice
Comment 9 Ingo Ruhnke 2018-06-22 08:16:03 UTC
Created attachment 143026 [details]
Bug still in
Comment 10 QA Administrators 2019-06-23 02:52:02 UTC Comment hidden (obsolete)
Comment 11 Ingo Ruhnke 2019-06-23 18:19:10 UTC
Bug is still in
Comment 12 QA Administrators 2021-06-24 03:46:53 UTC Comment hidden (obsolete)
Comment 13 Ingo Ruhnke 2021-06-24 09:12:42 UTC
Bug is still in
Comment 14 QA Administrators 2021-06-25 03:18:06 UTC Comment hidden (obsolete)
Comment 15 QA Administrators 2023-06-26 03:12:19 UTC Comment hidden (obsolete)
Comment 16 Ingo Ruhnke 2023-06-26 07:44:00 UTC
Bug is still in
Comment 17 Kira Tubo 2023-10-03 08:33:20 UTC
Reproduced on 3.3 and daily master build 

Version: (X86_64) / LibreOffice Community
Build ID: dd7fc07f83416a3d8a444947b7d28f7347520d6a
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded