| Summary: | Line chart data range of maximum 5 digits is insufficient | ||
|---|---|---|---|
| Product: | [Applications] plasma-systemmonitor | Reporter: | gilles.coremans |
| Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/libksysguard/commit/e01caf4fb1bb4245d1f1fdb20cf58a9695037628 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
gilles.coremans
2021-02-16 14:43:45 UTC
Git commit 504dcbd225e26fe39f1f26d65ad477fc73558762 by Arjen Hiemstra. Committed on 23/02/2021 at 15:27. Pushed by ahiemstra into branch 'master'. Set min/max for Y axis range spinboxes to minimum/maximum possible value Some sensors have a range of gigabytes or terabytes, like memory and disk. Since the base unit for these is bytes, we end up needing a very large value in the range, which currently is not possible due to the spinbox limiting the value. Internally, spinbox seems to use an int so we can only store a value that fits within the range of an int, so we use that as min/max value. Longer term we want to have some ability to choose an actual "maximum" sensor but that's going to need more work. Related: bug 424527 M +4 -4 faces/facepackages/barchart/contents/ui/Config.qml M +4 -4 faces/facepackages/linechart/contents/ui/Config.qml M +4 -2 faces/facepackages/piechart/contents/ui/Config.qml https://invent.kde.org/plasma/libksysguard/commit/504dcbd225e26fe39f1f26d65ad477fc73558762 Git commit e01caf4fb1bb4245d1f1fdb20cf58a9695037628 by Arjen Hiemstra. Committed on 26/02/2021 at 09:39. Pushed by ahiemstra into branch 'Plasma/5.21'. Set min/max for Y axis range spinboxes to minimum/maximum possible value Some sensors have a range of gigabytes or terabytes, like memory and disk. Since the base unit for these is bytes, we end up needing a very large value in the range, which currently is not possible due to the spinbox limiting the value. Internally, spinbox seems to use an int so we can only store a value that fits within the range of an int, so we use that as min/max value. Longer term we want to have some ability to choose an actual "maximum" sensor but that's going to need more work. Related: bug 424527 (cherry picked from commit 504dcbd225e26fe39f1f26d65ad477fc73558762) M +4 -4 faces/facepackages/barchart/contents/ui/Config.qml M +4 -4 faces/facepackages/linechart/contents/ui/Config.qml M +4 -2 faces/facepackages/piechart/contents/ui/Config.qml https://invent.kde.org/plasma/libksysguard/commit/e01caf4fb1bb4245d1f1fdb20cf58a9695037628 |