Bug 273177

Summary: short linespacing and background color clips text of previous paragraph
Product: [Applications] calligracommon Reporter: swathi <swathi.vegesna999>
Component: text-layoutAssignee: Calligra Bugs <calligra-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: cbo, inge, sebsauer
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot in MS Office
Screenshot in Words
ODP showing the problem
ODT that shows that oowriter is buggy too if it comes to overlapping lines :)

Description swathi 2011-05-13 09:52:36 UTC
Created attachment 59956 [details]
Screenshot in MS Office

Version: git checkout 15f2a481ef742bc6f0ded66ca854d29ae6f712ac
        (Using KDE 4.5.5)                
     OS: Kubuntu 10.10
Test data is in word 2003 format.
Open the same document in Calligra words and check thedisplay of text”INDO-NEPAL” in the first page.
Link to test data: http://commerce.nic.in/nepal.doc
Expected outcome:
Text shoule be displayed clearly.
Actual outcome:
Second half of the text is cutting.
Please check the screenshots attached.

Frequency:
Always.
Comment 1 swathi 2011-05-13 09:53:25 UTC
Created attachment 59957 [details]
Screenshot in Words
Comment 2 Inge Wallin 2011-05-17 15:04:42 UTC
Unending loop of re-layouts.
Comment 3 Sebastian Sauer 2011-07-27 16:53:08 UTC
Created attachment 62246 [details]
ODP showing the problem

Looping was fixed meanwhile and the linked doc doesn't overlap any longer. Attaching a new file that demonstrates that the problem is still present.
Comment 4 Sebastian Sauer 2011-07-27 16:58:44 UTC
Created attachment 62247 [details]
ODT that shows that oowriter is buggy too if it comes to overlapping lines :)

This ODT demonstrates that the problem is even more worse if the paragraph defines a background color. Aso the ODT shows that oowriter has a serious problm there too (the ODT was produced with oowriter btw - try to select the yellow line).
Comment 5 Sebastian Sauer 2011-07-28 10:09:09 UTC
Case in comment #3 was fixed with commit d85d4aef446c9f8c3eb5b4ba9a6dd96c6e74ea55 . The case is comment #4 is still a valid bug.
Comment 6 Sebastian Sauer 2011-07-28 11:02:25 UTC
See also http://git.reviewboard.kde.org/r/102100/ for an analysis and suggestion for a solution of the remaining problem.
Comment 7 Camilla Boemann 2012-04-17 11:07:55 UTC
Ok it seems Writer draws all the backgrounds first and then the text in a second pass.

Not sure it's worth the hazzle to try and fix this bug. After all overlapping lines are not really that smart a thing to do, especially not if they have background
Comment 8 Justin Zobel 2021-03-09 01:22:39 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.