Hello everyone,
I’m encountering an issue with how Plasma 6 handles custom accent colors defined in a wallpaper’s metadata.
I have some wallpapers with specific accent colors as HEX color codes in X-KDE-PlasmaImageWallpaper-AccentColor of the metadata, and my system settings is set to “Accent Color from Wallpaper”.
When I switch 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, while keeping the accent color of the previously-switched one. What’s more, the color is reset to the default color defined in the color scheme upon re-logining to the session or restarting the plasmashell.
According to Wallpapers | Developer, It seems that when switching to a wallpaper that has X-KDE-PlasmaImageWallpaper-AccentColor defined, Plasma should respect the values and update the system accent color accordingly, especially when the global theme setting is “Accent Color from Wallpaper”.
To produce:
- Use a wallpaper image that defines
X-KDE-PlasmaImageWallpaper-AccentColor. - Enable “Accent Color from Wallpaper” in Appearance > Color settings.
- Switch to a different wallpaper that does not define
X-KDE-PlasmaImageWallpaper-AccentColor, the accent color is changed. - Switch back to the original wallpaper.
- Observe that the accent color is not changed, instead of changing to the one defined in the metadata.
I found a similar bug https://bugs.kde.org/show_bug.cgi?id=514656 , but I’m not sure whether it’s related or it’s bug only from myside or not.
Is there any workarounds/fixes, or should I file another bug?
Summary
Operating System: Arch Linux
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2
Kernel Version: 6.17.3-arch2-1-lily (64-bit)
Graphics Platform: Wayland
Thanks!