Summary: | Applying some faces to some sensors can leave system monitor panel applets invisible and inaccessible | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | cwo <cwo.kde> |
Component: | System Monitor | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | ahiemstra, dark0ne, nate, notmart |
Priority: | HI | ||
Version: | 6.1.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/libksysguard/-/commit/3d511ddbca49ad4c2596c374ee95193e28798791 | Version Fixed In: | 6.2.0 |
Sentry Crash Report: |
Description
cwo
2024-09-11 09:14:53 UTC
Oh wow, this is really bad. Can reproduce. Color Grid doesn't really make sense as a face for this data visualization; maybe that's part of the problem. Perhaps we can filter out faces that are not applicable given the current data set. Another way to reproduce - the way i found this bug: 1. Add system monitor widget 2. Under Sensor details - in "Total sensor" add "Download rate" and "Upload rate" 3. Under Appearance - change "Display style" to "Text only" 4. Hit OK and drag it to the panel The correct way to configure it is to use the "Sensors" field rather than "Total sensor", but still, it should not result in an invisible widget. Maybe also add a minimum size or some placeholder text if the widget is not configured correctly. A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/367 I would imageine some qml error in the facesthemselves, it should probably load a default one after a component error with a notification about that or something similar Git commit 37b84e69dadc10dfe8be4782135741de05e28d4c by Arjen Hiemstra. Committed on 30/09/2024 at 12:03. Pushed by ahiemstra into branch 'master'. faces: Ensure all compact reps always have at least some size Otherwise we can end up with an applet on a panel that is size 0 which means there is no way of interacting with it. M +1 -1 faces/facepackages/colorgrid/contents/ui/CompactRepresentation.qml M +2 -2 faces/facepackages/facegrid/contents/ui/CompactRepresentation.qml M +3 -3 faces/facepackages/textonly/contents/ui/CompactRepresentation.qml https://invent.kde.org/plasma/libksysguard/-/commit/37b84e69dadc10dfe8be4782135741de05e28d4c Git commit 3d511ddbca49ad4c2596c374ee95193e28798791 by Arjen Hiemstra. Committed on 02/10/2024 at 11:47. Pushed by ahiemstra into branch 'Plasma/6.2'. faces: Ensure all compact reps always have at least some size Otherwise we can end up with an applet on a panel that is size 0 which means there is no way of interacting with it. (cherry picked from commit 37b84e69dadc10dfe8be4782135741de05e28d4c) Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl> M +1 -1 faces/facepackages/colorgrid/contents/ui/CompactRepresentation.qml M +2 -2 faces/facepackages/facegrid/contents/ui/CompactRepresentation.qml M +3 -3 faces/facepackages/textonly/contents/ui/CompactRepresentation.qml https://invent.kde.org/plasma/libksysguard/-/commit/3d511ddbca49ad4c2596c374ee95193e28798791 |