Bug 490789 - Mini graph of CPU usage in Process view shows for incorrect processes
Summary: Mini graph of CPU usage in Process view shows for incorrect processes
Status: REPORTED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 6.1.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-24 18:53 UTC by akb825
Modified: 2024-07-28 15:28 UTC (History)
3 users (show)

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


Attachments
The incorrect mini graph for the CPU usage. (66.59 KB, image/png)
2024-07-24 18:53 UTC, akb825
Details
The hierarchy for the processes showing the issue (12.28 KB, image/png)
2024-07-24 18:53 UTC, akb825
Details

Note You need to log in before you can comment on or make changes to this bug.
Description akb825 2024-07-24 18:53:14 UTC
Created attachment 171960 [details]
The incorrect mini graph for the CPU usage.

SUMMARY

When using the Processes view, a mini graph of the CPU usage shows underneath the percentage. This graph often jumps between processes, showing high CPU usage for seemingly random processes.

STEPS TO REPRODUCE
1. Open System Monitor and go to the Processes view.
2. Start a process with high CPU usage.
3. View the CPU% and mini graph next to the process.

OBSERVED RESULT

The graph may start next to the correct process, but suddenly the blue usage graph will jump to a completely unrelated process or disappear completely.

EXPECTED RESULT

The graph corresponds directly to the process with high CPU usage.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION

See attached screenshot. The python process that uses 22.8% initially shows the blue usage graph in the correct location , but the graph suddenly shifts to the completely unrelated Web Content process (from Firefox). The graph then shifted to a completely different process.

I have the view set to User Processes for this screenshot, but from what I cant ell it has the same behavior for other process filters as well.

I have also attached a screenshot to show the process hierarchy in case the incorrect behavior is somehow related to that.
Comment 1 akb825 2024-07-24 18:53:42 UTC
Created attachment 171961 [details]
The hierarchy for the processes showing the issue