| Summary: | Port to Plasmoid attached property in wallpapers breaks kcm | ||
|---|---|---|---|
| Product: | [Unmaintained] kscreenlocker | Reporter: | David Redondo <kde> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol, bshah, kde, nate |
| Priority: | VHI | Keywords: | regression |
| Version First Reported In: | git-master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kscreenlocker/commit/56746387dae2c125e9fc593227f7f3b73ba07096 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
David Redondo
2022-04-19 09:29:38 UTC
I can only reproduce with the Screen Locking kcm, on the Plasma dialog it looks just fine. Also I wonder where the error is coming from since the module is obviously installed as it's used all over the place. Indeed, just in the KCM. I assume the module is only a virtual one, i.e. added runtime by something in plasma-framework with qmlRegister*. And the kcm doesn't do anything plasma Moving to kscreenlocker as the broken code is there. Git commit 56746387dae2c125e9fc593227f7f3b73ba07096 by Aleix Pol. Committed on 21/04/2022 at 00:04. Pushed by davidedmundson into branch 'master'. kcm: Fix the load of wallpaper kcms Wallpaper kcms use sometimes the Plasmoid object (conditionally) to check some parameters. Recently, we ported from the old "plasmoid" context to the Plasmoid attached property coming from org.kde.plasma.plasmoid. This needs to have its import available otherwise QML rightly refuses to load anything. This includes the import by only registering a dummy empty object so it doesn't complain anymore. M +5 -0 kcm/kcm.cpp https://invent.kde.org/plasma/kscreenlocker/commit/56746387dae2c125e9fc593227f7f3b73ba07096 |