Bug 428880

Summary: [Widget] Y-Range
Product: [Applications] ksysguard Reporter: ©TriMoon™ <bugs.kde.org>
Component: libksysguardAssignee: KSysGuard Developers <ksysguard-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, plasma-bugs
Priority: NOR    
Version: 5.20.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description ©TriMoon™ 2020-11-09 10:55:09 UTC
SUMMARY
When you have an system monitor widget on your desktop to monitor memory, and want to manually set the Y range.
The input box only accepts values upto 99.999 which is in KB, ~97,6552734375 MiB.
This ofcourse is nowhere near usable as most systems have memory in the ranges of GiB.

The automatic Y-Range is also flawed because it makes the chart too short because it uses a max value that is like 2x the available memory.

STEPS TO REPRODUCE
1. Add the system monitor gaget on the desktop.
2. In the "Appearance" section:
   Select "Line Chart" as display style.
3. Click "Apply"
4. In the "Sensor Details" section:
   Add fe. "Used Memory", "Dirty Memory" and "Used Swap Memory".
5. Click "Apply"
6. In the "Line Chart Details" section:
   Uncheck "Automatic Y Data Range"
7. Try to input a value higher as 99.999 (Not possible)

OBSERVED RESULT
The input box only accepts values upto 99.999 which is in KB, ~97,6552734375 MiB.
This ofcourse is nowhere near usable as most systems have memory in the ranges of GiB.


EXPECTED RESULT
That you can input values that are usable for your memory size, so you can have a graph that is visually usable.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux (Stable)
(available in About System)
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
See also my post with a screenshot at: https://forum.manjaro.org/t/desktop-widget-system-monitor/36564
Comment 1 Arjen Hiemstra 2020-11-09 11:36:38 UTC
Yeah this is a good point. We probably should see if there's a way to input values in MiB/GiB ranges, though that might be a bit more tricky.
Comment 2 ©TriMoon™ 2020-11-09 14:07:50 UTC
Maybe a drop-down selection (after the input box) with those options to donate the input being in those units?