Bug 483415 - settings dialogs use light background in dark mode
Summary: settings dialogs use light background in dark mode
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-13 09:07 UTC by Piotr Keplicz
Modified: 2024-03-21 18:11 UTC (History)
2 users (show)

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


Attachments
KCM screenshot (126.05 KB, image/png)
2024-03-13 09:07 UTC, Piotr Keplicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Keplicz 2024-03-13 09:07:23 UTC
Created attachment 167085 [details]
KCM screenshot

SUMMARY

All the settings dialogs use light background in dark mode (Breeze Dark). Switching to a light theme doesn't seem to update background color. Other applications (notably Firefox, Chrome, Kontact, Kate, GTK apps) use proper dark background.

When starting, the following log message appears:
systemsettings[15709]: kf.kirigami.platform: Failed to find a Kirigami platform plugin for style "Fusion"

STEPS TO REPRODUCE
1. Change theme/color scheme to Breeze Dark 

OBSERVED RESULT

Some (Kirigami?) apps use light background.

EXPECTED RESULT

All the app should use the background as set.

SOFTWARE/OS VERSIONS

OS: KDE neon 6.0 x86_64 
Plasma Version: 6.0.2
Qt Version: 6.6.2

DE: Plasma 
WM: KWin 
WM Theme: Bryza 
Theme: Breeze Dark [Plasma], Breeze [GTK2/3] 
Icons: [Plasma], breeze [GTK2/3]
Comment 1 Nate Graham 2024-03-13 21:31:36 UTC
This happens when there's a setup problem on your machine. Likely plasma-integration is missing, but it could be a few other things too. Please follow up with your distro or at https://discuss.kde.org to get help with the issue.
Comment 2 Piotr Keplicz 2024-03-13 22:11:27 UTC
It's a Neon, recently upgraded to Plasma 6.0.0 and now 6.0.2. I've checked that on a new account the symptoms are the same: if you switch to the dark mode (eg. in the Quick Settings) some parts of the theme are not loaded (colors in the Kirigami apps, window title font is also reset to default).

plasma-integration is installed as well as all the "breeze" recommended packages.

I've seen one or two similar reports elsewhere but without any solutions nor clues.
Comment 3 Piotr Keplicz 2024-03-21 09:11:19 UTC
It was indeed an ancient version of plasma-integration, apparently apt didn’t upgrade it to 6.0.2. Thanks!
Comment 4 Damian Anlauf 2024-03-21 18:11:11 UTC
I had the same issue after the Plasma 6 update (KDEneon user edition). 
It was also caused by the `plasma-integration` package being stuck on version `5.19.5-0xneon+20.04+focal+build11`. 

But neither doing a `pkcon update` nor `apt update && apt full-upgrade` found any available updates. 

The cause for this were apt preferences defined under `/etc/apt/preferences.d`, specifically `99-plasma-integration` which pinned the package to version `5.1*`. This seems to be a remnant of an old version of neon, as I am using neon on this device since 2018 and have been upgrading neon from then without doing a fresh reinstallation.

So if anyone has the same issue as I had, check your `/etc/apt/preferences.d` directory for remnants. 
For reference, a fresh, up-to-date neon install currently only contains the following files: `50-neon-ubuntu-release-upgrader  99-jammy-overrides  99-neon-base-files  org-kde-neon-net-launchpad-ppa-mozillateam-pin`.
Meanwhile, my current installation additionally contained: `99-neon-software-properties  99-plasma-integration  99-pulseaudio-qt`.