Bug 365866

Summary: When using a KDE4 color scheme with contrast=0, KF5 uses a background gradient anyway
Product: [Plasma] Oxygen Reporter: Hans-Peter Jansen <hpj>
Component: styleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED FIXED    
Severity: normal CC: hugo.pereira.da.costa
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Color scheme
That's oxygen in KF5 with my theme
That's my theme with breeze
This it my theme with oxygen in KDE4
Hmm, my systemssettings5 is pretty empty...

Description Hans-Peter Jansen 2016-07-19 15:22:24 UTC
Try attached color scheme, it's a little different to many others, but looks but ugly with a background gradient enabled (KDE:contrast != 0) 
Unfortunately, the oxygen bindings in KF5 ignore this setting, and use a background gradient, which looks very different to KDE4.
While at it, the menu background is different, too (white in KF5, while gold in KDE4)


Reproducible: Always

Steps to Reproduce:
1. throw LISAGold.colors into $KDEHOME/.share/apps/color-schemes
2. enable LISA-Gold in systemsettings
3. switch to oxygen in KDE4 (and KF5)
4. install a KF5 app, and check the difference
Comment 1 Hans-Peter Jansen 2016-07-19 15:23:29 UTC
Created attachment 100173 [details]
Color scheme
Comment 2 Hugo Pereira Da Costa 2016-07-20 13:08:57 UTC
Hello,
first: thanks for reporting ! 
second: could you post screenshot of your favorite application with and without the bug ? 
(or: how it looks with kf5 and how with kde4) ? 
That would help me check 
- if I can reproduce
- and how to debug
Thanks ! 

Hugo
Comment 3 Hans-Peter Jansen 2016-07-20 14:06:35 UTC
Created attachment 100198 [details]
That's oxygen in KF5 with my theme

Note the gradient, that is deactivated (contrast=0) in the color scheme
Comment 4 Hans-Peter Jansen 2016-07-20 14:09:22 UTC
Created attachment 100199 [details]
That's my theme with breeze

Apart from the UI item look, breeze get's it correctly (but doesn't support a background gradient anyway, hance it cannot have that problem...)
Comment 5 Hans-Peter Jansen 2016-07-20 14:11:22 UTC
Created attachment 100200 [details]
This it my theme with oxygen in KDE4

Again, no gradient...
Comment 6 Hans-Peter Jansen 2016-07-20 14:15:09 UTC
Thank you, Hugo for looking into it.. 

It's a pleasure for me to provide any necessary detail, that helps you to understand this issue!

Please note, that I'm away for a couple of days on Friday with very limited internet access.
Comment 7 Hugo Pereira Da Costa 2016-07-20 14:28:56 UTC
Hello,
did you try, in systemsetting5 (the version for kf5) to set the contrast to zero ? 
By default I get the same as your screenshot from comment 3, but then if I set the contrast to zero (from systemsetting5, and not the kde4 version), then I get something that is similar to that posted in comment 5 (your kde4 screenshot).
Comment 8 Hans-Peter Jansen 2016-07-20 17:02:17 UTC
Created attachment 100207 [details]
Hmm, my systemssettings5 is pretty empty...

Any idea, how that package could be named, that I'm missing?
Comment 9 Hans-Peter Jansen 2016-07-20 17:08:30 UTC
Here's the KF5 repo, I'm using:
https://build.opensuse.org/project/monitor/KDE:Frameworks5
Comment 10 Hans-Peter Jansen 2016-07-20 17:36:39 UTC
Ahh, most probably, it's in plasma5-workspace, but that cannot be installed without deinstalling my KDE4 desktop. Will try that in a VM after holidays. 

Thank you, Hugo, much appreciated!
Comment 11 Hans-Peter Jansen 2019-08-29 15:53:13 UTC
Problem is solved long ago, and KDE4 is on its way to the happy hunting grounds.