After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 601370 - Baobab does not use the system color scheme to draw its graphs
Baobab does not use the system color scheme to draw its graphs
Status: RESOLVED OBSOLETE
Product: baobab
Classification: Core
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Baobab Maintainers
Baobab Maintainers
: 349190 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-11-10 09:27 UTC by Eduardo Lima Mitev
Modified: 2021-05-26 09:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
Patch removing hardcoded background color (941 bytes, patch)
2011-02-17 17:06 UTC, Eduardo Lima Mitev
none Details | Review

Description Eduardo Lima Mitev 2009-11-10 09:27:41 UTC
Colors in Baobab charts are hard-coded and background is always drawn white, causing it to be inaccessible to people with poor vision whom rely upon a high-contrast, dark theme for readability.

Reported originally in https://bugs.edge.launchpad.net/ubuntu/+source/gnome-utils/+bug/474824.
Comment 1 Eduardo Lima Mitev 2011-02-17 17:06:53 UTC
Created attachment 181149 [details] [review]
Patch removing hardcoded background color

First, sorry for the very low priority I gave to this bug. I really lacked time and energy to take a look at this before. I apologize.

This very simple patch removes the custom background painting in BaobabChart class, allowing the chart widget to inherit background color from active theme. 

This fixes the issue with the background color, but it doesn't change the tango colors used to draw chart items. For that, I don't think a simple solution is possible. Probably replacing tango colors by some colors (wisely) obtained from the active theme.
Comment 2 Jean-François Fortin Tam 2014-06-15 16:46:53 UTC
Bug #349190 seems to be about mostly the same issue, though it mentions the colors in the treeview instead of the ones in the ring chart...
Comment 3 André Klapper 2020-11-15 14:12:27 UTC
*** Bug 349190 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2021-05-26 09:26:59 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Baobab, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/baobab/-/issues/

Thank you for your understanding and your help.