| Summary: | Read/write speed is not displayed on Arch Linux | ||
|---|---|---|---|
| Product: | [Applications] plasma-systemmonitor | Reporter: | Lalit Shankar Chowdhury <lalitshankarch> |
| Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, kdedev, lalitshankarch, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 6.3.5 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/libksysguard/-/commit/82d0cd19f6532f4ea571a487ab08d3a0b0c462dc | Version Fixed/Implemented In: | 6.4.0 |
| Sentry Crash Report: | |||
| Attachments: | Screenshot | ||
|
Description
Lalit Shankar Chowdhury
2025-05-17 18:46:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/415 Git commit 8ed933e643598b85c67203c586a2fec5fc9ee8d5 by Arjen Hiemstra. Committed on 19/05/2025 at 14:58. Pushed by ahiemstra into branch 'master'. processcore: Rewrite ProcessesLinux::getIOStatistics to be less confusing Apparently this was reading the entire file and then assuming a certain order of fields. This was pretty hard to follow code that broke easily because it was using a different pattern from the rest of the functions. Change it to read line by line and check which field we are reading. This should make things a fair bit more robust and easier to read. M +14 -28 processcore/processes_linux_p.cpp https://invent.kde.org/plasma/libksysguard/-/commit/8ed933e643598b85c67203c586a2fec5fc9ee8d5 Git commit 82d0cd19f6532f4ea571a487ab08d3a0b0c462dc by Arjen Hiemstra. Committed on 19/05/2025 at 15:11. Pushed by ahiemstra into branch 'Plasma/6.4'. processcore: Rewrite ProcessesLinux::getIOStatistics to be less confusing Apparently this was reading the entire file and then assuming a certain order of fields. This was pretty hard to follow code that broke easily because it was using a different pattern from the rest of the functions. Change it to read line by line and check which field we are reading. This should make things a fair bit more robust and easier to read. (cherry picked from commit 8ed933e643598b85c67203c586a2fec5fc9ee8d5) Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl> M +14 -28 processcore/processes_linux_p.cpp https://invent.kde.org/plasma/libksysguard/-/commit/82d0cd19f6532f4ea571a487ab08d3a0b0c462dc |