Bug 310044

Summary: KMyMoney doesn't go well with KDE's color scheme support (hardcoded values)
Product: [Applications] kmymoney Reporter: Niels van Mourik <niels>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: CLOSED DUPLICATE    
Severity: normal CC: onet.cristian
Priority: NOR    
Version: 4.6.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Niels van Mourik 2012-11-13 18:07:31 UTC
Hi there,

Let me start giving all of you the compliments you very well deserve for making this mature and very stable application on which I'm relying for over 1.5 years now without a single complaint.

When using darker color schemes within KDE (for instance to be easier on the eyes) it becomes very apparent within KMyMoney that many color values in dialogs and the HTML views and other custom widgets are hardcoded to a certain extent making me forced to switch back color schemes just for one application.

I haven't made a inventory of what widgets and dialogs need to be fixed exactly but this can be figured out easily while working on the ticket I suppose. Please see the attached screenshot.

Thank you very much!
Niels van Mourik 

Reproducible: Always

Steps to Reproduce:
1. Change your KDE color scheme to (e.g.)  "Wonton Soup" in "kcmshell4 colors".
2. Restart KMyMoney if the color change didn't became apparent immediately.
3. Just click around.


Expected Results:  
KMyMoney to pick colors for every QWidget/QLabel or custom widgets that originate from KDE's standard color palette.
Comment 1 Christoph Feck 2012-11-13 21:29:56 UTC

*** This bug has been marked as a duplicate of bug 309010 ***
Comment 2 Cristian OneČ› 2012-11-18 13:35:50 UTC
Please check the 'Use system colors' setting (see the duplicated bug).
Comment 3 Niels van Mourik 2012-11-19 10:45:51 UTC
@Christian:
I have to say it's a little hidden away but this totally works for me - very happy with the fact it's already in there! If the hardcoded colors provide added value and this checkbox fixes it for the minority that uses darker schemes this is a sensible default if you would ask me.

Thanks!!
Comment 4 Cristian OneČ› 2012-11-19 10:53:49 UTC
(In reply to comment #3)
> @Christian:
> I have to say it's a little hidden away but this totally works for me - very
> happy with the fact it's already in there! If the hardcoded colors provide
> added value and this checkbox fixes it for the minority that uses darker
> schemes this is a sensible default if you would ask me.

The hardcoded colors do not provide added value and the default should be to 'Use system colors'.  As a matter of fact I thought it was but it seems that I was wrong https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/master/entry/kmymoney/kmymoney.kcfg#L232 I think we can fix that easily.