<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Automatic font color becomes invisible in Calc charts with dark background"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=125329#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Automatic font color becomes invisible in Calc charts with dark background"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=125329">bug 125329</a>
from <span class="vcard"><a class="email" href="mailto:luke@deller.id.au" title="Luke Deller <luke@deller.id.au>"> <span class="fn">Luke Deller</span></a>
</span></b>
<pre>Thanks Timur.
This commit 77e21bb36a2cdaaa0f4049dee0d45c5b2325c6e9 simply changes the
threshold at which a colour is considered "dark".
When I revert the change in commit 77e21bb36a2cdaaa0f4049dee0d45c5b2325c6e9
upon latest git master, I can still reproduce the problem using a document
background of "Dark Grey 3" (red=28,green=28,blue=28).
I suspect your bibisection was using a slightly lighter colour? Would it be
possible to repeat bibisection with a darker colour?
In terms of debugging the underlying problem, I notice that the decision to use
a white font comes from editeng/source/editeng/impedit3.cxx
ImpEditEngine::GetAutoColor()
(because if I change that to return COL_LIGHTRED instead of COL_WHITE then try
to reproduce this bug, the font color in the chart axis label becomes light red
when I resize the chart).
This wrong decision appears to be because it is referring to background colour
of the ImpEditEngine instance which is different from the background colour of
the chart.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>