Bug 366324

Summary: [REGRESSION] Show CPUs separately no longer works
Product: [Plasma] kdeplasma-addons Reporter: sparhawk <kdebugs>
Component: systemloadviewerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: bernie, jghodd, kollix, t.schmittlauch, udippel
Priority: NOR    
Version: 5.7.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description sparhawk 2016-08-01 11:47:03 UTC
Previously, I could select show CPUs separately. This no longer works; the plasmoid is blank and shows no information.

Reproducible: Always

Steps to Reproduce:
1. Change system load view's settings.
2. Show CPU monitor; CPUs separately. (Monitor type: Compact Bar.)
3. Click OK and observe plasmoid.

Actual Results:  
Plasmoid is blank.

Expected Results:  
Shown several bars, one for each CPU.

I've only noticed this recently, in the last week or so. I tried reverting to the last few versions of `kdeplasma-addons` as below, but they all had this problem.

5.6.3-2
5.6.4-1
5.6.5-1
5.6.95-1
5.7.0-1
5.7.1-1

This reflects the last three months of my update history for this package, so I'm fairly sure that this regression occurred within this time period. Presumably it's a bug in a different package, instead.
Comment 1 sparhawk 2016-09-29 05:38:13 UTC
Occasionally, and seemingly at random, the plasmoid functions correctly. I tried killing and relaunching plasmashell, but this does not help. The plasmoid fails to work probably ~80% of the time.
Comment 2 David Edmundson 2016-10-19 11:51:20 UTC
*** Bug 367683 has been marked as a duplicate of this bug. ***
Comment 3 Jeff Hodd 2016-11-02 16:18:19 UTC
This bug is still present in kdeplasma-addons-5.8.3, with a new bug. The new bug is definitely a systemloadviewer coding issue (undefined variable - memApplication) added since v5.8.2, but I concur that the other issues may very well be with a different package - perhaps plasma-workspace which provides systemmonitor.

plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:246: TypeError: Cannot read property 'value' of undefined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:246: TypeError: Cannot read property 'value' of undefined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:246: TypeError: Cannot read property 'value' of undefined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:225: ReferenceError: memApplication is not defined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:253: TypeError: Cannot read property 'value' of undefined
plasmashell[1205]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/CompactBarMonitor.qml:45:20: Unable to assign [undefined] to QColor

I'm guessing that the "Cannot read property 'value' of undefined" errors are due to bad data in dataSource, which is seeded by systemmonitor - was there perhaps a change in the interface between systemloadviewer and systemmonitor that wasn't properly accommodated in the source code?
Comment 4 Bernie Innocenti 2016-12-04 18:26:20 UTC
Still present in 5.8.4.

Curiously, it works for a plasmoid dropped on the desktop, but not in the panel.
Comment 5 Christoph Feck 2016-12-13 01:25:33 UTC
*** Bug 371946 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2016-12-13 01:25:55 UTC
*** Bug 373425 has been marked as a duplicate of this bug. ***
Comment 7 Martin Koller 2017-07-14 11:10:00 UTC

*** This bug has been marked as a duplicate of bug 373776 ***