Bug 155198 - MCGR black rendering in case of minimal color difference
Summary: MCGR black rendering in case of minimal color difference
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-08 20:47 UTC by Regina Henschel
Modified: 2023-05-08 21:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Shapes showing the problem of faulty black color (26.15 KB, application/vnd.oasis.opendocument.presentation)
2023-05-08 20:47 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-05-08 20:47:40 UTC
Created attachment 187151 [details]
Shapes showing the problem of faulty black color

Open attached document. It has four shapes. The shapes use a gradient with color stops at positions 0, 0.4, 0.7 and 1. The shapes only differ in the value of color stop at positions 0.4.

The colors at position 0.4 and 0.7 are the same in first shape. The colors differ by 3 in the green component in the last shape. Those shapes are rendered correctly.

The shape in between differ in by 1 and by 2, respectively, in the green component. They show the wrong black part between the stops.

The problem is not academic but real, namely some Smartart shapes use fillings with such small color differences.

Armin: Can you give a tip, in which area to search for the reason?
Comment 1 Regina Henschel 2023-05-08 21:02:55 UTC
Sorry for the noise. I have just tested with a build started today afternoon. The error is gone :) It is likely fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=db4b960643832a52000523ca2eb3667e36af52cd from today morning.