Bug 428616 - Group of sensors always has black color in the line graph
Summary: Group of sensors always has black color in the line graph
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (show other bugs)
Version: 5.20.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-02 21:39 UTC by Gerhard
Modified: 2020-11-06 11:03 UTC (History)
3 users (show)

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


Attachments
Screenshot before adding a group of sensors (374.32 KB, image/png)
2020-11-04 20:17 UTC, Gerhard
Details
Screenshot of system monitor widget after adding a group of sensors (271.01 KB, image/png)
2020-11-04 20:19 UTC, Gerhard
Details

Note You need to log in before you can comment on or make changes to this bug.
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.