Bug 433096

Summary: Line Chart move too far ahead at the beginning and does not read value correctly
Product: [Applications] plasma-systemmonitor Reporter: Andy Great <andythe_great>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: ahiemstra, kde, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video showing line chart of memory usage.

Description Andy Great 2021-02-17 17:36:20 UTC
Created attachment 135773 [details]
video showing line chart of memory usage.

SUMMARY
Every line chart seems start from the left scrolling to the right. Is this intended feature? (see the attached video)

The value of sensor legend stuck at zero until the line reach the right side of the view window. This happen to every type of sensors, CPU, memory, temp, disks, etc. (see video)

STEPS TO REPRODUCE
1. Start system monitor.
2. Look at the line chart with legend with number value.

OBSERVED RESULT
The line chart seems to move too much to the left relative to the viewing windows.
Number value stuck at 0.0 until the line chart reach right side, then it read correct value.

EXPECTED RESULT
I think the line chart should start from the right of the viewing windows, scrolling to the left.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210215
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
Comment 1 Andy Great 2021-02-19 18:18:18 UTC
Update: Another openSUSE snapshot was released and I update it. The value of sensor legend now correctly display the value. But the line still more in weird way.
Comment 2 David Redondo 2021-02-23 15:18:46 UTC
The legend thing was indeed a bug that was fixed.

The fill behavior of the chart is intentional, it was the other way around before.
Comment 3 Andy Great 2021-02-23 17:07:25 UTC
(In reply to David Redondo from comment #2)
> The legend thing was indeed a bug that was fixed.
> 
> The fill behavior of the chart is intentional, it was the other way around
> before.

Alright, thanks for clarification.