Bug 433957

Summary: system monitor widget horizontal bars only work correctly for CPU load and frequency
Product: [Plasma] plasmashell Reporter: Emil <emil.vanherp>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, kde, nate, noahadvs, notmart
Priority: NOR    
Version First Reported In: 5.21.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video file of the horizontal bars not scaling

Description Emil 2021-03-04 14:02:43 UTC
Created attachment 136368 [details]
video file of the horizontal bars not scaling

SUMMARY
The system monitor widget horizontal bars only work correctly for CPU load and frequency, other stats (temp, fan, download rate, upload rate, ...) always show full bars. See attached video.

STEPS TO REPRODUCE
1. Add system monitor widget
2. Change display style to "Horizontal Bars"
3. Add some sensors

OBSERVED RESULT
Only the CPU load and frequency sensor bars will correctly scale with the sensor values, all the others are always 100% full.

EXPECTED RESULT
All bars scale with sensor values.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-04 17:26:51 UTC
Yeah, horizontal bars only really make sense when there is a logical maximum value.
Comment 2 Emil 2021-03-04 20:29:36 UTC
Why? What's the difference with vertical bars? I would put in a manual maximum value, but the setting seem to be missing for horizontal bars
Comment 3 David Redondo 2021-03-05 08:11:29 UTC
The problem that right now we don't query the maximum of hardware sensors
Comment 4 Noah Davis 2023-08-10 18:11:49 UTC
It's better now than it used to be since temperatures and percents seem to have max values, but there is still no way to set the maximum value manually and there are still sensors that don't have a max value with horizontal bars.
Comment 5 Noah Davis 2023-08-10 18:12:04 UTC
Tested with Plasma 5.26.1
Comment 6 Arjen Hiemstra 2024-02-19 15:08:48 UTC
Horizontal bars now has a data range option, so marking this as fixed.