Bug 395731

Summary: Line break incorrect when small and large fonts are mixed near a box
Product: [Applications] calligrawords Reporter: Ingo Ruhnke <grumbel>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the problem
Document showing the problem

Description Ingo Ruhnke 2018-06-22 08:58:14 UTC
Created attachment 113503 [details]
Screenshot of the problem

1. Take a large block of text in small font (say font size 6)
2. Enlarge a word of that text (say font size 48)
3. Put a box to the right of the text such that the top of the box lines up
with the line containing the enlarged word.
4. Type some new text before the large word until the large word word-wraps into the next line

Problem: The line-height of the line without the large word as if the large word was still there, while the line-height of the next line with the word is still small, thus leading to the large word overdrawing the previous line.

This issue seems to be common among word processors, same problem can be
observed in LibreOffice and Abiword, just with slightly different results:

https://bugs.documentfoundation.org/show_bug.cgi?id=53501

https://bugzilla.abisource.com/show_bug.cgi?id=13895
Comment 1 Ingo Ruhnke 2018-06-22 08:58:34 UTC
Created attachment 113504 [details]
Document showing the problem
Comment 2 Justin Zobel 2022-11-26 00:14:00 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-11 05:07:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-26 05:21:36 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!