SUMMARY All System Monitor widgets are affected. STEPS TO REPRODUCE 1. use Plasma 5.24 beta 2. open Widgets Explorer 3. search for 'Total CPU Use' widget and add it to desktop OBSERVED RESULT Total CPU Use widget has no sensor EXPECTED RESULT System Monitor widgets added to desktop should have sensors SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Graphics Platform: Wayland
I confirm this bug for a Kubuntu 22.04 daily test build using Plasma 5.23.90 on X11.
Can also confirm.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1410
Git commit 7736fc8dfa7c12f72c3206f7c16e00ae28783d7e by Arjen Hiemstra. Committed on 27/01/2022 at 12:33. Pushed by ngraham into branch 'master'. applets/systemmonitor: Don't load "metadata.desktop" to determine preset Applets were apparently blindly converted to use JSON metadata without checking the usage. At least KPackage now has a direct getter for the package metadata, so use that to get the plugin ID instead of manually loading the package metadata. M +1 -1 applets/systemmonitor/systemmonitor/systemmonitor.cpp https://invent.kde.org/plasma/plasma-workspace/commit/7736fc8dfa7c12f72c3206f7c16e00ae28783d7e
Git commit 42be68b2bf8cf2c5e57a1d13914447cbd780bee4 by Nate Graham, on behalf of Arjen Hiemstra. Committed on 27/01/2022 at 16:06. Pushed by ngraham into branch 'Plasma/5.24'. applets/systemmonitor: Don't load "metadata.desktop" to determine preset Applets were apparently blindly converted to use JSON metadata without checking the usage. At least KPackage now has a direct getter for the package metadata, so use that to get the plugin ID instead of manually loading the package metadata. (cherry picked from commit 7736fc8dfa7c12f72c3206f7c16e00ae28783d7e) M +1 -1 applets/systemmonitor/systemmonitor/systemmonitor.cpp https://invent.kde.org/plasma/plasma-workspace/commit/42be68b2bf8cf2c5e57a1d13914447cbd780bee4
In sensor settings, there is an option to load a preset. Is it supposed to be empty or is that a bug too?
It's a symptom of pretty much the same bug that should be resolved with https://invent.kde.org/plasma/libksysguard/-/merge_requests/207
(In reply to Arjen Hiemstra from comment #7) > It's a symptom of pretty much the same bug that should be resolved with > https://invent.kde.org/plasma/libksysguard/-/merge_requests/207 I tried building that MR (or Plasma/5.24 branch) but it doesn't build, am I missing something? I get: /home/mthw/kde/libksysguard/faces/SensorFaceController.cpp:897:19: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘const QJsonObject&’