Bug 503226

Summary: Process item context menu is offset from the cursor
Product: [Applications] plasma-systemmonitor Reporter: Tech-Tac <im.tech.tac>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, kdedev, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tech-Tac 2025-04-23 12:19:03 UTC
SUMMARY
Right clicking an item in the applications or processes lists results in the context menu appearing offset right and down from the cursor, by an amount that seems to be equivalent to the width of the sidebar, i.e. collapsing the sidebar makes this distance smaller.

STEPS TO REPRODUCE
1. Open System Monitor
2. Right click in application item in any of the process lists
3. Notice menu offset

OBSERVED RESULT
Menu is offset

EXPECTED RESULT
Menu is aligned to the cursor

SOFTWARE/OS VERSIONS
Linux:  Arch
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
The way this context menu is implemented is unconventional, it should ideally be a window or a "native" menu, not a widget inside the main window.
The whole experience with system monitor is bad to be honest, one of the most unstable components of Plasma.
Comment 1 TraceyC 2025-04-23 17:26:57 UTC
Thanks for the bug report. This is the same as bug 502715. Please follow that report for details.

*** This bug has been marked as a duplicate of bug 502715 ***