Bug 439222 - "[WM]" frame and inactiveFrame colors in color scheme no longer honored when set in kdeglobals
Summary: "[WM]" frame and inactiveFrame colors in color scheme no longer honored when ...
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (show other bugs)
Version: 5.22.2
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 448914 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-06-27 13:34 UTC by Mikhail Zolotukhin
Modified: 2022-09-17 13:54 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Zolotukhin 2021-06-27 13:34:46 UTC
SUMMARY

Krohnkite tiling script recommends to set window borders color with the following config line in ~/.config/kdeglobals:

```
[WM]
frame=61,174,233
inactiveFrame=239,240,241
```

However, with the recent color schemes, this approach does not work.


STEPS TO REPRODUCE

1. Set the color scheme to Breeze
2. Set the window borders to normal
3. Add frame color lines to kdeglobals:

```
 kwriteconfig5 --file ~/.config/kdeglobals --group WM --key frame 61,174,233
 kwriteconfig5 --file ~/.config/kdeglobals --group WM --key inactiveFrame  239,240,241

```

4. Restart KWin

OBSERVED RESULT

Window borders are grey.

EXPECTED RESULT

Window borders are blue.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.10.46-1-lts (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION


The diff between old (e.g. Nordic) and new (Breeze Dark) color scheme shows, that these lines belong only to the new color scheme:

```
[Colors:Complementary]
BackgroundAlternate=30,87,116
BackgroundNormal=42,46,50
DecorationFocus=61,174,233
DecorationHover=61,174,233
ForegroundActive=61,174,233
ForegroundInactive=161,169,177
ForegroundLink=29,153,243
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182

[Colors:Header]
BackgroundAlternate=42,46,50
BackgroundNormal=49,54,59
DecorationFocus=61,174,233
DecorationHover=61,174,233
ForegroundActive=61,174,233
ForegroundInactive=161,169,177
ForegroundLink=29,153,243
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182

[Colors:Header][Inactive]
BackgroundAlternate=49,54,59
BackgroundNormal=42,46,50
DecorationFocus=61,174,233
DecorationHover=61,174,233
ForegroundActive=61,174,233
ForegroundInactive=161,169,177
ForegroundLink=29,153,243
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182

```

It seems like the these lines override the lines, specified in kdeglobals, but I'm not sure.
Comment 1 Nate Graham 2022-01-23 19:17:00 UTC
*** Bug 448914 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2022-09-08 17:23:10 UTC
Can reproduce, seems like it affects all color schemes, not just header-color-using color schemes.