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 707243 - Hard-coded font colors in account tree?
Hard-coded font colors in account tree?
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
: 723410 743274 762558 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-09-01 21:04 UTC by Martin Orda
Modified: 2018-06-29 23:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
account tree view (16.46 KB, image/png)
2013-09-01 21:04 UTC, Martin Orda
Details

Description Martin Orda 2013-09-01 21:04:50 UTC
Created attachment 253780 [details]
account tree view

I've recently tried to tweak my dark GTK2 theme in order to change the color of fonts in the account tree columns which show balances/totals/etc. The first two columns (Account name and Description) follow (or are coincidentally the same) as the colors defined in my gtk-2.0/gtkrc theme.

It looks like Gnucash uses its own widget GncTreeViewAccount (IIRC) and I've tried to directly apply a style to this widget to no avail. All figures are still black, unless the balance is negative, in which case they're shown in red.

Since I use a theme with a dark background color, this makes the balances almost indistinguishable from the background unless I select the row I'm interested in explicitly.
Comment 1 t.ask 2014-07-02 10:06:17 UTC
Please fix this. This shouldn't be a difficult task to just remove fixed font color settings here. This is a show breaker for people who use dark themes and it still exists with version 2.6.3.
Comment 2 John Ralls 2014-07-06 14:23:56 UTC
Have you tried Gnucash Preferences>Register>Use system theme colors?
Comment 3 Geert Janssens 2014-08-29 21:23:31 UTC
Use System Theme Colors only affects the background colours used by the register, not the account tree.

Red and black are indeed hardcoded in the account tree code for all columns that hold amounts.

I have pushed a fix for this that will appear in gnucash 2.6.4. Thank you for your report and enjoy the improved color handling !
Comment 4 Geert Janssens 2014-09-22 14:40:11 UTC
*** Bug 723410 has been marked as a duplicate of this bug. ***
Comment 5 Geert Janssens 2015-03-27 16:52:08 UTC
*** Bug 743274 has been marked as a duplicate of this bug. ***
Comment 6 Geert Janssens 2016-02-24 10:06:10 UTC
*** Bug 762558 has been marked as a duplicate of this bug. ***
Comment 7 John Ralls 2017-09-24 22:44:38 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 8 John Ralls 2018-06-29 23:18:46 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=707243. Please update any external references or bookmarks.