Bug 147375 - Thick diagonal borders are being rendered outside the cell with unpredictable results
Summary: Thick diagonal borders are being rendered outside the cell with unpredictable...
Status: RESOLVED DUPLICATE of bug 130675
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 12:35 UTC by Rafael Lima
Modified: 2022-12-13 12:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (43.33 KB, image/png)
2022-02-11 12:35 UTC, Rafael Lima
Details
Sample ODS file (10.50 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-11 12:38 UTC, Rafael Lima
Details
Added color to the lines and changed some rows height in the sample file (12.95 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-13 16:51 UTC, LeroyG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-02-11 12:35:22 UTC
Created attachment 178221 [details]
Screenshot showing the problem

When you apply diagonal borders to Calc cells and make them thicker, you'll notice that the diagonal line is rendered outside the cell, which makes the final result a bit weird (see attached screenshot for an example).

Moreover, the way these lines are drawn seem to vary without any apparent reason (see the arrows to the right of the screenshot). Notice that the way each line is drawn is different.

Below I'll also attach the sample ODS file from which I took the screenshots.

This is happening in LO 7.3 and 7.4.

System info:

Version: 7.3.1.0.0+ / LibreOffice Community
Build ID: c1fd702dacec60cbd87531e9f11caf3d0cfbb155
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 9d50307b2e1fd26d415539d3ed8624c7a449e45b
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Rafael Lima 2022-02-11 12:38:48 UTC
Created attachment 178223 [details]
Sample ODS file

This is the ODS file used in the screenshot
Comment 2 m_a_riosv 2022-02-11 18:52:21 UTC
I'm not sure if it is a bug.
On only one isolated cell, works very reliable, but when a neighbour cell has lines, I think to make that the line can continuing.
If there is an issue seems, it is with that on the side without neighbour cell, doesn't cut at the cell border.
Comment 3 LeroyG 2022-02-13 16:51:37 UTC
Created attachment 178255 [details]
Added color to the lines and changed some rows height in the sample file
Comment 4 Xisco Faulí 2022-02-16 15:41:59 UTC
Also reproducible in

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: es-ES (es_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 Buovjaga 2022-12-13 12:25:04 UTC
I bisected this with Linux 6.0 repo and found a duplicate. Will comment there.

*** This bug has been marked as a duplicate of bug 130675 ***