Bug 493040 - Download/Write Speed History Chart Y-Axis Label Indicates Bytes when Measuring bits
Summary: Download/Write Speed History Chart Y-Axis Label Indicates Bytes when Measurin...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.1.5
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-12 22:31 UTC by Martin Matasovic
Modified: 2024-09-19 09:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot showing discrepancy in Network and Download/Write Speed histories. (46.92 KB, image/png)
2024-09-12 22:31 UTC, Martin Matasovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matasovic 2024-09-12 22:31:52 UTC
Created attachment 173601 [details]
Screenshot showing discrepancy in Network and Download/Write Speed histories.

SUMMARY

Despite both Network and Download/Write Speed history graphs having their units labeled with a capital "B", only Network uses bytes while Download/Write Speed uses bits.


STEPS TO REPRODUCE
1. Open System monitor to the History page.
2. Have both Network and Download/Write Speed rows enabled and visible.
3. Start downloading something over the network (I was installing a game on Steam).

OBSERVED RESULT

The Download/Write Speed row shows 8x the speed of the Network row despite both apparently using "B"ytes.

EXPECTED RESULT

Download/Write Speed should either match Network download speed or show "b"its as its units.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Comment 1 Noah Davis 2024-09-19 09:31:57 UTC
This is because write speed is in bytes/s while download speed is in bits/s and write speed is ordered in the sensor list before download speed. When System Monitor has to choose between showing bytes and bits on the Y axis, it prefers to show the unit for the first sensor in the list of sensors. If you had separate graphs for write speed and download speed or download speed ordered in the list before write speed, then the graph would show bits/s on the Y axis.
Comment 2 Noah Davis 2024-09-19 09:35:09 UTC
Note, there are separate sensors for Download Rate in bits/s and Download Rate in bytes/s. You may want to use the latter for unit consistency.