Bug 345007 - Use color scheme font colors for titlebar text
Summary: Use color scheme font colors for titlebar text
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 365994 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-10 13:06 UTC by Mircea Kitsune
Modified: 2024-06-04 11:52 UTC (History)
2 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 Mircea Kitsune 2015-03-10 13:06:57 UTC
I forked and maintain a few Plasma and Aurorae themes. My themes have full colorization support, so panel and decoration backgrounds use the window background color specified in the color scheme. For SVG elements, this is achieved by adding "class ColorScheme-Background" and using fill:currentColor, which works as intended.

The problem is font colors. Plasma automatically uses the color scheme, so the fonts end up looking fine with any color preferences... Aurorae however does not. In your themerc file, you can only specify a fixed set of colors ("ActiveTextColor" and "InactiveTextColor"). You cannot use the titlebar font color specified in the color scheme, which means your font will always have the same color despite the color of the decoration background.

This is a problem because my themes are intended to work with both bright and dark window backgrounds. Normally, the font is black when a bright window decoration is used, and white when a dark one is applied instead. In Aurorae I can only make my fonts black or white all the time, meaning they will be hard to see if someone selects a window background color of the same brightness.

Please add an option to let Aurorae themes use the titlebar font color in the color scheme, or alternatively make the font black or white based on the decoration color (like Plasma widgets do), rather than being restricted to a fixed color specified in the themerc file. This is also what the Oxygen theme does.

Reproducible: Always




Forum thread: https://forum.kde.org/viewtopic.php?f=17&t=125326

To test, use one of the following themes which have Oxygen like colorization for decorations: http://opendesktop.org/content/show.php?content=168769 or http://opendesktop.org/content/show.php?content=168737
Comment 1 David Edmundson 2024-06-04 11:52:14 UTC
*** Bug 365994 has been marked as a duplicate of this bug. ***