Bug 141891 - UI: adjacent cells formatted slanted and horizontal don't colour correctly
Summary: UI: adjacent cells formatted slanted and horizontal don't colour correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: Calc-Cells
  Show dependency treegraph
Reported: 2021-04-25 11:24 UTC by Wolf Jäcklein
Modified: 2024-04-10 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

screen-shot of the erroneous coloring (18.33 KB, image/png)
2021-04-25 11:27 UTC, Wolf Jäcklein
screenshot_1 not reproducing exactly the bug (62.78 KB, image/png)
2021-04-25 14:33 UTC, laurent combe
screenshot_2 with a surprising result (58.90 KB, image/png)
2021-04-25 14:34 UTC, laurent combe
Example document (8.61 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-04-07 15:53 UTC, Buovjaga

Note You need to log in before you can comment on or make changes to this bug.
Description Wolf Jäcklein 2021-04-25 11:24:16 UTC
background colouring for cells at the limit between slanted text and horizontal text doesn't respect correct limits (see screen-shot).

Steps to Reproduce:
1. create, in a line adjacent cells, respectively formatted for horizontal text, and next to it, for slanted text (like oriented at 65 degrees).
2. colour the two adjacent cells differently 
3. show borders (I don't think this is essential).
4. the colours at the limit between the two different formattings won't stick to the cells, but go beyond
5. this is true on screen and in the generated PDF file, and in the print-preview (and I guess in the print-out as well, but I don't have printer).

Actual Results:
Background coloring not sticking to cell limits

Expected Results:
Background coloring respecting cell limits

Reproducible: Always

User Profile Reset: No

Additional Info:
My version: Version: (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded

==> I can provide a screen-shot, and example .ods file <==
Comment 1 Wolf Jäcklein 2021-04-25 11:27:00 UTC
Created attachment 171400 [details]
screen-shot of the erroneous coloring
Comment 2 laurent combe 2021-04-25 14:32:09 UTC
i'm not sure to well understand the issue
i try to reproduce it on a 7.1.2 but with no success

i'm joining a screenshot (screenshot_test1)
as A2,B2,C2 have a background color it seems logical (IMHO) that there is no blank zone between these cells

i make a complementary test in B2 i choose an angle of 120°
the result is quite surprising ! (screenshot_test2)

the difficulty here is what to expect with such settings

my version :

Version: / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 1:7.1.2~rc2-0ubuntu0.20.04.1~lo3
Calc: threaded
Comment 3 laurent combe 2021-04-25 14:33:31 UTC
Created attachment 171404 [details]
screenshot_1 not reproducing exactly the bug
Comment 4 laurent combe 2021-04-25 14:34:35 UTC
Created attachment 171405 [details]
screenshot_2 with a surprising result
Comment 5 Wolf Jäcklein 2021-04-25 17:14:49 UTC
In the initial sceenshot, the column 'E' is not supposed to be yellow, but is the one greenishly coloured, and formatted to show the text at 65°.
There is no reason the yellow goes beyond the 'D' column.
Comment 6 Buovjaga 2022-04-07 15:53:58 UTC
Created attachment 179381 [details]
Example document

Reproduced already with LibreOffice 3.3.0

Arch Linux 64-bit
Version: / LibreOffice Community
Build ID: ff2f433cdfda74dbf69a11342a98ccbfb5bc6a72
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 7 April 2022
Comment 7 QA Administrators 2024-04-10 03:13:23 UTC
Dear Wolf Jäcklein,

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://web.libera.chat/?settings=#libreoffice-qa

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

Warm Regards,
QA Team