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) release
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: 2021-06-25 03:18 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
Dear Ingo Ruhnke,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team