Summary: | Wrong system colors substituted in color-scheme-aware plasma themes | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | Andreas <andi.berger> |
Component: | libplasma | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bhush94, kde, nate, notmart, notuxius, plasma-bugs |
Priority: | NOR | ||
Version: | 5.79.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/d444c3452082a6afa1c7975de25180b7cfede818 | Version Fixed In: | 5.96 |
Sentry Crash Report: | |||
Attachments: | screenshot |
Description
Andreas
2017-03-22 15:21:45 UTC
you mean the analog clock? i get it white exactly as the screenshot Created attachment 104715 [details]
screenshot
i added a screenshot to illustrate what i mean
Marco: Can you confirm that you get the clock face white even when using a non-white color for "Window Background" in the application color scheme? Is this still relevant? Analog clock has а different design on my system Alexander: yes, however: through some more trial, i found that ColorScheme-ButtonBackground (and not ColorScheme-Background, as i previously reported) is used where ColorScheme-ViewBackground should be used also, my theme (QTStep) no longer serves as an example for this issue, i hardcoded the colors in that theme as a workaround for this bug. This seems to be an intentional "compatibility" workaround: If the X-Plasma-API specified in the metadata.desktop (a key I couldn't find anywhere in the docs..) is smaller than 5.0 (or not present) then it will "fall back" to using ButtonColorGroup for anything other than NormalColorGroup //Before 5.0 Plasma theme really only used Normal and Button //many old themes are built on this assumption and will break //otherwise if (apiMajor < 5 && group != Theme::NormalColorGroup) { group = Theme::ButtonColorGroup; } A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/547 Git commit d444c3452082a6afa1c7975de25180b7cfede818 by Ismael Asensio. Committed on 09/06/2022 at 22:38. Pushed by iasensio into branch 'master'. breeze/widgets: Make analog clock follow colorscheme Now the breeze analog clock is colorscheme aware and follows the user preferences, either for white or dark schemes. Also make the seconds hand use accent color FIXED-IN: 5.96 M +23 -16 src/desktoptheme/breeze/widgets/clock.svg https://invent.kde.org/frameworks/plasma-framework/commit/d444c3452082a6afa1c7975de25180b7cfede818 |