Summary: | Pre-configured System Monitor widgets added to desktop appear as generic "System Monitor Sensor" widgets | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | System Monitor widgets | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahiemstra, gabriel, matejm98mthw, mb, nate, notmart |
Priority: | VHI | Keywords: | regression |
Version: | 5.23.90 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/42be68b2bf8cf2c5e57a1d13914447cbd780bee4 | Version Fixed In: | |
Sentry Crash Report: |
Description
Patrick Silva
2022-01-15 14:48:09 UTC
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&’ |