Bug 507478

Summary: Wallpaper KCM doesn't load
Product: [Applications] systemsettings Reporter: Nate Graham <nate>
Component: kcm_wallpaperAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: meven, nicolas.fella
Priority: VHI Keywords: regression
Version First Reported In: 6.4.80   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2025-07-25 11:40:58 UTC
STEPS TO REPRODUCE
1. `systemsettings kcm_wallpaper`


OBSERVED RESULT
kf.kcmutils: Error loading QML file qrc:/kcm/kcm_wallpaper/main.qml
kf.kcmutils:     qrc:/kcm/kcm_wallpaper/main.qml:21:1: Namespace 'org.kde.plasma.configuration' has already been used for type registration
    import org.kde.plasma.configuration 2.0
    ^


EXPECTED RESULT
The KCM loads. :)


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1


ADDITIONAL INFORMATION
That line of code hasn't changed in years, so something elsewhere broke this.
Comment 1 Bug Janitor Service 2025-07-25 11:43:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5702
Comment 2 Nicolas Fella 2025-07-25 12:43:01 UTC
Git commit 18659144b1cf7e86bd0c9fdf249824a27a1d140c by Nicolas Fella.
Committed on 25/07/2025 at 11:43.
Pushed by ngraham into branch 'master'.

[kcms/wallpaper] Don't register org.kde.plasma.configuration

This module is now registered as a proper module in libplasma, so this registration is unneeded and clashes

M  +0    -2    kcms/wallpaper/wallpapermodule.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/18659144b1cf7e86bd0c9fdf249824a27a1d140c