Created attachment 374081 [details] black on black The register input uses black text on a black background, this was a previous work around on 3.10 https://lists.gnucash.org/pipermail/gnucash-devel/2020-February/044606.html but no longer works since upgrading to 4.4. It doesn't matter if the built in theme is enabled or disabled (see attached). OS Ubuntu 21.04, Gnucash 4.4 installed from Ubuntu repos.
Created attachment 374082 [details] default theme black on black
This is a workaround to make the input background white .gnc-class-register-foreground.flat { background-color: white; }
Fixes have been added to https://wiki.gnucash.org/wiki/GTK3#KDE_Register_Input_Field_Black_on_Dark_Background_Problem
Bob-IT is there a good place in the register where we can get some hints from the theme and style the register appropriately without requiring the user to override the CSS?
John, There already is some detection, it is used when Adwaita-dark is used so I am a bit confused why it is not working for this. Also, if the preference "Use Gnucash built-in color theme" is set, why is there not have black on yellow. Will setup Ubuntu 21.04 VM and have a look. admin@rwky.net, what theme are you running?
I'm using "Breeze Dark" if you install from the KUbuntu ISO this comes with it. The GTK theme is "Breeze" (again this comes with KUbuntu)
Thank you, I have now setup a KUbuntu VM and downloaded Gnucash, set the theme to Breeze dark and can reproduce this bug. Will investigate...
See also https://lists.gnucash.org/pipermail/gnucash-user/2021-June/096795.html (I didn't like the dark theme. How to force using the default theme ?)
O have pushed a fix to maint and will be in the next release 4.6 which involves adding the appropriate gnucash style class to the GtkEntry of the register. As I can see it fixed my KUbuntu 21.04 VM will close.
Much appreciated!