Bug 116267 - Text layout issue
Summary: Text layout issue
Status: RESOLVED DUPLICATE of bug 116101
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks:
 
Reported: 2018-03-07 14:33 UTC by Gerhard Schaber
Modified: 2018-04-02 06:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example created with 6.0.2 (9.13 MB, application/vnd.oasis.opendocument.graphics)
2018-03-07 14:33 UTC, Gerhard Schaber
Details
A new sample file based on 5.3.6 (9.12 MB, application/vnd.oasis.opendocument.graphics)
2018-03-08 18:54 UTC, Gerhard Schaber
Details
Screenshot of textlayoutissue536 with 5.3.6 (61.97 KB, image/jpeg)
2018-03-08 18:55 UTC, Gerhard Schaber
Details
Screenshot of textlayoutissue536 with 6.0.2 (70.79 KB, image/jpeg)
2018-03-08 18:55 UTC, Gerhard Schaber
Details
LibreOffice 5.3 (71.24 KB, image/png)
2018-03-09 16:33 UTC, Xisco Faulí
Details
Replacement for sample based on 5.3.6, but with bitmap instead of GDI (9.13 MB, application/vnd.oasis.opendocument.graphics)
2018-03-09 16:48 UTC, Gerhard Schaber
Details
Another screenshot (133.04 KB, image/jpeg)
2018-03-09 16:55 UTC, Gerhard Schaber
Details
Another example with only text (8.63 KB, application/vnd.oasis.opendocument.graphics)
2018-03-11 07:00 UTC, Gerhard Schaber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Schaber 2018-03-07 14:33:47 UTC
Created attachment 140432 [details]
Example created with 6.0.2

Layout of text box looks different between 6.0 and the versions before. See the attached file.
Comment 1 Gerhard Schaber 2018-03-07 14:35:34 UTC
I am not sure whether the behavior of 6.0 is correct or the one of 5.x. In any case it looks different on 6.0.2.1 than on 5.4.4 and 5.3.6.
Comment 2 Xisco Faulí 2018-03-08 11:42:25 UTC Comment hidden (obsolete)
Comment 3 Gerhard Schaber 2018-03-08 18:54:03 UTC
Created attachment 140482 [details]
A new sample file based on 5.3.6
Comment 4 Gerhard Schaber 2018-03-08 18:55:02 UTC
Created attachment 140483 [details]
Screenshot of textlayoutissue536 with 5.3.6
Comment 5 Gerhard Schaber 2018-03-08 18:55:56 UTC
Created attachment 140484 [details]
Screenshot of textlayoutissue536 with 6.0.2
Comment 6 Xisco Faulí 2018-03-09 16:33:21 UTC
Created attachment 140514 [details]
LibreOffice 5.3

It looks incorrect in LibreOffice 5.3

Could you explain how the document was created?
Comment 7 Gerhard Schaber 2018-03-09 16:41:09 UTC
textlayoutissue536 I created in 5.3.6. Just a text box and two fonts, and changed some paragraph settings.
Comment 8 Gerhard Schaber 2018-03-09 16:48:18 UTC
Created attachment 140515 [details]
Replacement for sample based on 5.3.6, but with bitmap instead of GDI
Comment 9 Gerhard Schaber 2018-03-09 16:50:38 UTC
I have attached another example where I copied the text box and pasted it as bitmap. I originallky used GDI, because bitmap does not exactly match the text box, but it seems that bitmap makes more sense.
Comment 10 Gerhard Schaber 2018-03-09 16:55:33 UTC
Created attachment 140516 [details]
Another screenshot
Comment 11 Gerhard Schaber 2018-03-09 17:49:15 UTC
The light blue bitmap is how it looks like in 5.3.6. The white text is supposed to match that. In 6.0.2 it does not.
Comment 12 Chris Sherlock 2018-03-11 03:56:39 UTC
Hi Gerard, can we reduce this test case a bit?

If you were to create a document with just the text, could you give us step by step instructions how you made it in LO 5.3.6? We could then bibisect this a bit more easily.
Comment 13 Gerhard Schaber 2018-03-11 07:00:29 UTC
Created attachment 140561 [details]
Another example with only text
Comment 14 Gerhard Schaber 2018-03-11 07:01:40 UTC
I do not see the point in removing the reference image, but here you go. https://bugs.documentfoundation.org/attachment.cgi?id=140561
Comment 15 Buovjaga 2018-03-13 14:52:44 UTC
Bah, silly me: I bisected this, while I could have just tested with latest master to see it was fixed already.

*** This bug has been marked as a duplicate of bug 116101 ***
Comment 16 Aron Budea 2018-03-17 13:51:02 UTC
Gerhard, please test this again with a recent daily build, and preferably compare against 5.3.7 or 5.4.4. I see a slight difference with attachment 140482 [details] ("A new sample file based on 5.3.6"), but it would be best if you could confirm.

Same with any other examples, ie. not sure what attachment 140515 [details] (" Replacement for sample based on 5.3.6, but with bitmap instead of GDI") should look like, I'm checking against 5.4.0 (not the best choice, but that's what I have at hand right now), and the previously mentioned sample is aligned perfectly, but this one isn't.
Comment 17 Gerhard Schaber 2018-03-20 15:54:25 UTC
It looks okay. I am not sure why it takes forever to load the file, but it looks good. Any of the examples actually.