Created attachment 188559 [details] applying wallpaper custom colors SUMMARY I have this in a wallpaper: "X-KDE-PlasmaImageWallpaper-AccentColor": { "Dark": "#ACD600", "Light": "#52AC3F" } But when I apply the wallpaper the accent color resets to the one generated by Plasma. STEPS TO REPRODUCE 1. Set a wallpaper with custom colors 2. Choose "Accent color from wallpaper" in the Colors KCM OBSERVED RESULT 1. When choosing the setting, the preview shows the correct color 2. After it's applied, it resets to the auto-generated color. EXPECTED RESULT The accent color set in metadata.json is used. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 43 KDE Plasma Version: 6.5.5 KDE Frameworks Version: 6.22.0 Qt Version: 6.10.1 Kernel Version: 6.18.5-200.fc43.x86_64 (64-bit) Graphics Platform: Wayland
I wonder if this got broken with the day/night wallpaper stuff. Does it work if you turn off all those features and apply a custom accent color to a wallpaper with only one version?
(In reply to Nate Graham from comment #1) > I wonder if this got broken with the day/night wallpaper stuff. Does it work > if you turn off all those features and apply a custom accent color to a > wallpaper with only one version? Even with just one color the generated one is used. It's the same in light and dark mode in both json.
(In reply to Nate Graham from comment #1) > I wonder if this got broken with the day/night wallpaper stuff. Does it work > if you turn off all those features and apply a custom accent color to a > wallpaper with only one version?
I can reproduce the bug on day/night wallpapers, but on a single wallpaper without any variants, the accent will be kept until I restarted plasmashell. I also find switching away from this wallpaper to another one, and then switch back to it, Plasma does not apply the correct accent color defined in the metadata, which may also related. (Sorry for the #3 comment, it was created by mistake since I want to be CCed when there's a update)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3932
Git commit 766eafc3574cad53165bf096c3f97b48d64bb2f6 by Vlad Zahorodnii, on behalf of Zhora Zmeykin. Committed on 10/08/2026 at 14:50. Pushed by vladz into branch 'master'. desktop: Do not overwrite wallpaper-provided accent color Amends 06675e18efcebd22e8ca33fb597a071d6308ec05. When a wallpaper provides an explicit accent color, Desktop.qml assigns it to the desktop. However, the following independent if statement immediately replaces it with the dominant color calculated from the wallpaper image. M +1 -2 desktoppackage/contents/views/Desktop.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/766eafc3574cad53165bf096c3f97b48d64bb2f6
Git commit 29ea3705dd7f0fbdf990f7d5256734cf35186eaa by Vlad Zahorodnii. Committed on 11/08/2026 at 12:55. Pushed by vladz into branch 'Plasma/6.7'. desktop: Do not overwrite wallpaper-provided accent color Amends 06675e18efcebd22e8ca33fb597a071d6308ec05. When a wallpaper provides an explicit accent color, Desktop.qml assigns it to the desktop. However, the following independent if statement immediately replaces it with the dominant color calculated from the wallpaper image. (cherry picked from commit 766eafc3574cad53165bf096c3f97b48d64bb2f6) aba5cdb4 desktop: Do not overwrite wallpaper-provided accent color Co-authored-by: Zhora Zmeykin <me@katze-942.ru> M +1 -2 desktoppackage/contents/views/Desktop.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/29ea3705dd7f0fbdf990f7d5256734cf35186eaa