Bug 511312

Summary: The colors from qpalatte are used incorrectly
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: uvos <devnull>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: ahiemstra, nate, notmart, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.5.0   
Target Milestone: Not decided   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description uvos 2025-10-29 10:26:05 UTC
Created attachment 186284 [details]
screenshot

I use a color palette where QPalette::Window is dark and QPalette::Base is light.
this breaks plasma-systemmonitor (see screenshot) as plasma-systemmonitor uses QPalette::WindowText with QPalette::Base and QPalette::Text with QPalette::Window which is wrong.
Comment 1 Nate Graham 2025-10-30 16:51:00 UTC
Do you see this in any other KDE apps too? For example Discover, System Settings, Spectacle, or Filelight?
Comment 2 uvos 2025-11-02 23:38:12 UTC
No, while there are some occasional mistakes in other apps where the qpalatte provided colors are used incorrectly only plasma-systemmonitor is fully broken.
Comment 3 Arjen Hiemstra 2026-01-08 11:43:48 UTC
System Monitor itself doesn't really specify many colors, the colors that are showing up wrong are provided by Kirigami and are using Kirigami's View background and text color. If I change the color scheme to have view colors that are inverted from the window colors, things work fine and the cards will use a black background with white text.

To me it sounds like you're not using the KDE platform integration, especially because KColorScheme has no concept of "base". Regardless, this is not a System Monitor bug as System Monitor does not touch the colors of these elements.