Bug 483509 - system monitor widget horizontal bars fails to display more than 1 sensor when in panel
Summary: system monitor widget horizontal bars fails to display more than 1 sensor whe...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (show other bugs)
Version: 6.0.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2024-03-14 03:20 UTC by squaduck
Modified: 2024-06-12 13:36 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.0
Sentry Crash Report:


Attachments
Panel with system monitor widget and one sensor (1.23 KB, image/png)
2024-03-14 03:20 UTC, squaduck
Details
Panel with system monitor widget and two sensors. Nothing is visible. (1.04 KB, image/png)
2024-03-14 03:21 UTC, squaduck
Details
undersize plasmoid icone (70.62 KB, image/png)
2024-05-30 18:23 UTC, Cherkah
Details
undersize multicore plasmoide (165.07 KB, image/png)
2024-05-30 18:24 UTC, Cherkah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description squaduck 2024-03-14 03:20:19 UTC
Created attachment 167142 [details]
Panel with system monitor widget and one sensor

SUMMARY
No sensors are visible when adding a system monitor widget with horizontal bars to a panel and adding more than one sensor. 
(Expanded view when clicking works fine.)


STEPS TO REPRODUCE
1. Add a system monitor sensor widget to a panel.
2. Set its display mode to horizontal bars.
3. Add more than one sensor.

OBSERVED RESULT
Sensors disappear from view when there is more than 1.

EXPECTED RESULT
Horizontal bars stack nicely like in previous versions.

SOFTWARE/OS VERSIONS
OpenSUSE Tumbleweed 20240311
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Proprietary Nvidia drivers 550.54.14
Wayland
Comment 1 squaduck 2024-03-14 03:21:39 UTC
Created attachment 167143 [details]
Panel with system monitor widget and two sensors. Nothing is visible.
Comment 2 Ridge 2024-05-27 17:29:03 UTC
Putting this as a comment here instead of making a new bug report because it seems related to this, but if I should make a new report just let me know.

Does it still hide all the sensors for you?
In my case, I can only get two to appear after https://bugs.kde.org/show_bug.cgi?id=481949 was fixed, any horizontal bar beyond the third simply gets hidden, but is visible in the full view. This is on an AMD GPU in Wayland, though I'm unsure if it's related.

In Plasma 5.2X and earlier versions, I used to have a system monitor applet in my panel showing CPU, GPU, and RAM usage as horizontal bars. These three bars were stacked just fine. During the transition from Qt5 to Qt6, this applet broke (bug 481949) and was eventually fixed. However, after its fix, it only shows two horizontal bars instead of three (or possibly more).

This happens on a fresh install of Plasma 6.0 and 6.1 Beta, with all settings set to default (on a new installation of Arch Linux).

I spawned a nested instance of KWin Wayland using gdb, and made a new panel, added a System Monitor to it, and added three sensors (CPU, GPU, and RAM usage %).
This was the output:

Arrived mimeData QList() QList("text/x-plasmoidservicename") at 1151 ,  20
adding "org.kde.plasma.systemmonitor"
This plugin does not support setting window opacity
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:46: TypeError: Cannot read property 'updateRateLimit' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:45: TypeError: Cannot read property 'totalSensors' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'highPrioritySensorIds' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:33: TypeError: Cannot read property 'title' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:46: TypeError: Cannot read property 'updateRateLimit' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:45: TypeError: Cannot read property 'totalSensors' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:41: TypeError: Cannot read property 'highPrioritySensorIds' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/main.qml:33: TypeError: Cannot read property 'title' of null
KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml:18:1: QML ConfigAppearance: Created graphical object was not placed in the graphics scene.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_chartFace
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_chartFaceDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_sensorColors
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_sensorColorsDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_sensorIds
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_sensorIdsDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_textOnlySensorIds
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_textOnlySensorIdsDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_title
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_titleDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_totalSensor
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml: Setting initial properties failed: ConfigAppearance does not have a property called cfg_totalSensorDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigAppearance.qml:31:5: QML Connections: Detected function "onConfigurationChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:162:18: QML ScrollView: Cannot anchor to an item that isn't a parent or sibling.
qrc:/ConfigAppearance.qml:68:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/AppletConfiguration.qml:142:5: QML Connections: Detected function "onSettingValueChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:170: TypeError: Cannot read property 'right' of null
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:169: TypeError: Cannot read property 'left' of null
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:168: TypeError: Cannot read property 'bottom' of null
[New Thread 0x7670e3e006c0 (LWP 184298)]
[New Thread 0x7670eda006c0 (LWP 184299)]
[New Thread 0x7670ee4006c0 (LWP 184300)]
[New Thread 0x7670ed0006c0 (LWP 184301)]
qt.qml.context: qrc:/ConfigAppearance.qml:163:13 Parameter "index" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
qrc:/ConfigAppearance.qml:68:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"

##### This is where I change from System Monitor's default pie chart to horizontal bars

file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.piechart/contents/ui/PieChart.qml:43:5: Unable to assign [undefined] to bool
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.piechart/contents/ui/PieChart.qml:44:5: Unable to assign [undefined] to double
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.piechart/contents/ui/PieChart.qml:45:5: Unable to assign [undefined] to double
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml:18:1: QML ConfigSensors: Created graphical object was not placed in the graphics scene.
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_chartFace
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_chartFaceDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_sensorColors
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_sensorColorsDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_sensorIds
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_sensorIdsDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_textOnlySensorIds
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_textOnlySensorIdsDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_title
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_titleDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_totalSensor
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml: Setting initial properties failed: ConfigSensors does not have a property called cfg_totalSensorDefault
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor/contents/ui/config/ConfigSensors.qml:29:5: QML Connections: Detected function "onConfigurationChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:162:18: QML ScrollView: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:170: TypeError: Cannot read property 'right' of null
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:169: TypeError: Cannot read property 'left' of null
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:168: TypeError: Cannot read property 'bottom' of null
file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:167: TypeError: Cannot read property 'top' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/AppletConfiguration.qml:142:5: QML Connections: Detected function "onSettingValueChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
[Thread 0x7670ed0006c0 (LWP 184301) exited]
[Thread 0x7670ee4006c0 (LWP 184300) exited]
[Thread 0x7670eda006c0 (LWP 184299) exited]
[Thread 0x7670e3e006c0 (LWP 184298) exited]
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.horizontalbars/contents/ui/CompactRepresentation.qml:44:17: Unable to assign [undefined] to QColor
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.horizontalbars/contents/ui/CompactRepresentation.qml:44:17: Unable to assign [undefined] to QColor
[New Thread 0x7670e3e006c0 (LWP 198950)]
[New Thread 0x7670ed0006c0 (LWP 198951)]
[New Thread 0x7670ee4006c0 (LWP 198952)]
[New Thread 0x7670eda006c0 (LWP 198953)]
kf.windowsystem.wayland: Failed to recreate shadow for PlasmaQuick::AppletPopup_QML_209(0x5a94bab293d0, name="popupWindow")
qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.horizontalbars/contents/ui/CompactRepresentation.qml:44:17: Unable to assign [undefined] to QColor
KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
[Thread 0x7670eda006c0 (LWP 198953) exited]
[Thread 0x7670ee4006c0 (LWP 198952) exited]
[Thread 0x7670ed0006c0 (LWP 198951) exited]
[Thread 0x7670e3e006c0 (LWP 198950) exited]
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/PanelConfiguration.qml:536:9: QML SpinBox: Binding loop detected for property "implicitWidth"
file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/ConfigOverlay.qml:328:17: QML SpinBox: Binding loop detected for property "implicitWidth"
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet"
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Comment 3 squaduck 2024-05-27 23:57:31 UTC
All my sensor bars show up perfectly now. Someone more knowledgeable than me will have to determine if it is a separate bug.
Comment 4 Ridge 2024-05-28 02:49:03 UTC
That's fair, thanks for the update regardless.
Tried increasing the panel size, and the third bar appears when the panel size is 56 or more only, when it should appear at any size as before.
Comment 5 bug 2024-05-29 00:58:25 UTC
Same here on Manjaro rolling release.

With the change to Plasma 6 all Systemmonitor-Panel Apps decreased their size. I am on a 50" TV as display and when i use more than 2 cpu-sensors the size (height and width) is unusable. With all 12 cpu-sensors the size is so small on the 50" display, that i can see tiny pixels at the base when the cpu is under load.

The same goes for the network sensors, they reduced their width by at least 50%, while still working in height.
Comment 6 bug 2024-05-29 01:24:21 UTC
Sorry, i forgot about the system details:
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.10.0-rc1-273-tkg-eevdf (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 31.0 GiB of RAM
Graphics Processor: AMD Radeon RX 5600 XT
Manufacturer: ASRock
Product Name: B650M PG Lightning

I also tried the 6.6 LTS kernel and default system theme with all the available alternative panels.
Comment 7 Cherkah 2024-05-30 18:23:42 UTC
Created attachment 170001 [details]
undersize plasmoid icone
Comment 8 Cherkah 2024-05-30 18:24:30 UTC
Created attachment 170002 [details]
undersize multicore plasmoide
Comment 9 Cherkah 2024-05-30 18:26:36 UTC
it happens also with Endeavouros:

KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 10 Nate Graham 2024-06-12 13:36:39 UTC
This is fixed for Plasma 6.1 now.