https://bugs.kde.org/show_bug.cgi?id=452581
Bug ID: 452581 Summary: Horizontal Bars style unable to show empty and low states Product: plasma-systemmonitor Version: 5.24.4 Platform: Neon Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: ksysguard-b...@kde.org Reporter: twilightinz...@gmail.com CC: ahiems...@heimr.nl, plasma-b...@kde.org Target Milestone: --- Created attachment 148139 --> https://bugs.kde.org/attachment.cgi?id=148139&action=edit Screenshot of not particularly meaningful horizontal bars. SUMMARY I'd like to use the Horizontal Bars style to show my total CPU usage, RAM usage, and Swap usage. But because of the way the bars are designed to show a dot with the bar's radius even when the value is zero, I can't get any useful information from it that way. If I try tweaking the QML such that it does take zero as a valid value, what ends up happening is that the left side of the bar has zero radius whenever the value is less than the radius. So is this actually a QML bug because of the fact that rectangle radius gets discarded when its width is smaller than its specified radius? The only way I can get the bars to show anything meaningful without looking inconsistent is if I tweak the QML to make their radius zero. STEPS TO REPRODUCE 1. Create a system monitor widget with horizontal bars style 2. Select sensors that you can reasonably expect to be low to zero, like total CPU usage percent and Swap usage percent. OBSERVED RESULT Values of zero are not meaningfully conveyed; they look more like 10% on a 40px vertical panel. EXPECTED RESULT A legitimately empty bar is shown when the value is zero, and some sort of small fill is shown for low values. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon 5.24.4 (available in About System) KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93 Qt Version: 5.15.3 ADDITIONAL INFORMATION N/A -- You are receiving this mail because: You are watching all bug changes.