Bug 370610 - Automatically adjust window titlebar / window frame color to application theme
Summary: Automatically adjust window titlebar / window frame color to application theme
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 22:52 UTC by Janek Bevendorff
Modified: 2016-10-13 10:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Bevendorff 2016-10-12 22:52:23 UTC
I don't know if this is possible, but it would be great if Kwin could automatically adjust the titlebar/window frame color to an application's color scheme. Programs with dark KDE color schemes (such as Krita) look pretty awful with bright window borders. This can be fixed by adding windows rules for changing the window color scheme, but it would be better if Kwin could do that automatically.

Reproducible: Always
Comment 1 Martin Flöser 2016-10-13 05:33:52 UTC
This works by the application using KColorSchemeManager (see https://api.kde.org/frameworks/kconfigwidgets/html/classKColorSchemeManager.html ) which I added for this use case. In addition it needs a widget style which forwards a hint to KWin. This is implemented in breeze, but Krita (to my knowledge) hard disabled breeze. If it doesn't work with Krita, it's a bug in Krita either because they don't use KColorSchemeManager yet or because they hard disable breeze.
Comment 2 Martin Flöser 2016-10-13 06:22:52 UTC
for not depending on the actual style: https://phabricator.kde.org/D3044
Comment 3 Janek Bevendorff 2016-10-13 10:12:03 UTC
Alright. I'll open this as a bug for Krita then.