Bug 475246 - System Monitor Sensor Widget: Horizontal bars type does not have chart settings
Summary: System Monitor Sensor Widget: Horizontal bars type does not have chart settings
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (show other bugs)
Version: 5.27.8
Platform: openSUSE Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on: 441510
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-05 14:40 UTC by post
Modified: 2024-02-19 15:07 UTC (History)
5 users (show)

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


Attachments
Screenshot of the system monitor widget in both styles side-by-side, showing cpu frequency and the widget settings. (306.26 KB, image/png)
2023-10-05 14:40 UTC, post
Details

Note You need to log in before you can comment on or make changes to this bug.
Description post 2023-10-05 14:40:04 UTC
Created attachment 162098 [details]
Screenshot of the system monitor widget in both styles side-by-side, showing cpu frequency and the widget settings.

+++ This bug was initially created as a clone of Bug #441510 +++


SUMMARY
When editing a System monitor Sensor widget, most of the chart-type display styles, like bar charts and line charts, have a "chart details" tab. Here we can change settings such as whether or not to show legends, and whether to use an automatic data range or set it manually.

The horizontal bars display style is missing these settings, including the data range settings that would (partially)  fix #441510.

STEPS TO REPRODUCE
1. Add the system monitor widget to your desktop
2. Set "Display Style" to "Horizontal Bars"
3. Apply


OBSERVED RESULT
There is no longer a chart settings tab.


EXPECTED RESULT
I would expect all of the chart-type styles to have some common settings, like show sensors legend and the data range settings.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed 20231001
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10


ADDITIONAL INFORMATION
I have attached a screenshot of an example scenario where not having these settings makes the horizontal bar style makes it not very useful.

On the bar chart, automatically setting the bounds doesn't work, but I can manually specify my Y max value to be my CPU warning temperature for example.

On the horizontal bar chart, automatically setting the bounds also doesn't work, and I can't manually set the bounds either, effectively pinning the bar to max.


SUMMARY
The 'System Monitor Sensor' Widget has a problem with it's 'horizontal bars' display style. It's essentially useless if you need to monitor something like temperature for instance, because you can't set limits of the data. It will automatically choose it's own data range and it doesn't do a very good job at this. My CPU temp sensor just shows the bar 'maxed out' regardless of what it's temperature is. Basically it's upper data range is just whatever the current temp is for some reason. And my GPU temp sensor seems to display a range that doesn't make a whole lot of sense. It's idle temps are 2/3 of the way full on the bar and they're well within normal temp ranges.

STEPS TO REPRODUCE
1. Set-up horizontal bars display style in System Monitor Sensor widget with a couple temp sensors.

OBSERVED RESULT
Notice that you can't gather any useful data from it without expanding the widget and reading the actual values.


EXPECTED RESULT
It should either be better at guessing automatic data ranges for something like temperature sensors or even better, allow the same setup that 'Bar Chart' display style uses and allow you to set your own data ranges, after all it's practically the same display style except horizontal.


SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: OpenSUSE Tumbleweed 20210820
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Comment 1 Arjen Hiemstra 2024-02-19 15:07:01 UTC
Horizontal bars has a data range setting now. If you need anything else, please make a new bug report.