Bug 428616

Summary: Group of sensors always has black color in the line graph
Product: [Plasma] plasmashell Reporter: Gerhard <gstengel>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, nate, notmart
Priority: NOR    
Version First Reported In: 5.20.1   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot before adding a group of sensors
Screenshot of system monitor widget after adding a group of sensors

Description Gerhard 2020-11-02 21:39:58 UTC
When adding a group of sensors, t.ex. [Group] CPU(%) to the new system monitor sensor 1.0 widget, after pressing "Apply", this group is correctly expanded to individual sensors with individual colors in the configuration dialogue. However, these colors aren't used in the line graph, it's always black.


STEPS TO REPRODUCE
1. Open configuration of system monitor wiget "CPU"
2. Go to sensor details, click into free space in edit box "sensors". Choose [Group] CPU / [Group] CPU(%)
3. Press "Apply"

OBSERVED RESULT
Group is expanded to individial CPU load with correct colors in the edit box.
In the line graph, all sensors of the group are black

EXPECTED RESULT
The colors as in the edit box shall be used 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20201030
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75
Qt Version: 5.15.1
Comment 1 Nate Graham 2020-11-04 19:03:27 UTC
Can you attach a screenshot?
Comment 2 Gerhard 2020-11-04 20:17:57 UTC
Created attachment 133030 [details]
Screenshot before adding a group of sensors
Comment 3 Gerhard 2020-11-04 20:19:27 UTC
Created attachment 133031 [details]
Screenshot of system monitor widget after adding a group of sensors

Note that all CPU load sensors are black in the graph
Comment 4 Nate Graham 2020-11-04 21:20:19 UTC
Got it, thanks.
Comment 5 Arjen Hiemstra 2020-11-06 11:03:55 UTC
(In reply to Gerhard from comment #3)
> 
> Note that all CPU load sensors are black in the graph

Interestingly, actually, CPU 1 and CPU 2 are dark green and match the configured colour. The rest of the entries are still broken, I wonder what's up with that.
Comment 6 Nate Graham 2025-10-21 15:53:19 UTC
I can't reproduce this anymore with those steps. Looks like it's since been fixed!