Bug 511312 - The colors from qpalatte are used incorrectly
Summary: The colors from qpalatte are used incorrectly
Status: REPORTED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.5.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-29 10:26 UTC by uvos
Modified: 2026-01-08 11:44 UTC (History)
4 users (show)

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


Attachments
screenshot (47.68 KB, image/png)
2025-10-29 10:26 UTC, uvos
Details

Note You need to log in before you can comment on or make changes to this bug.
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.