Bug 421350

Summary: RMB on a monitor chart with non-focused ksysguard window is painted outside a window with window decorations.
Product: [Unmaintained] ksysguard Reporter: Sebastian Kuźlak <sebastiankuzlak>
Component: ksysguardAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bugseforuns, plasma-bugs-null
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.18.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot showcasing the issue

Description Sebastian Kuźlak 2020-05-11 16:41:45 UTC
Created attachment 128366 [details]
screenshot showcasing the issue

SUMMARY

When ksysguard window is focused and you RMB on a monitor chart to change chart properties everything is ok, however if you defocus the ksysguard window and RMB on the same chart then the ksysguard  does not refocus and it results in RMB apearing outside of the main ksysguad window with kwin dectorations.


STEPS TO REPRODUCE
1.Open ksysguard and switch to system load tab
2. defocus ksysguard by clicking on the desktop
3. right click on the chart


EXPECTED RESULT
rmb apears where i clicked

OBSERVED RESULT
rmb apears outside of the ksysguard window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70
Qt Version: 5.15 rc1

ADDITIONAL INFORMATION
Comment 1 Sebastian Kuźlak 2020-05-11 16:51:10 UTC
forgot to mention that this happens only on wayland session
Comment 2 Patrick Silva 2020-05-11 22:24:50 UTC
possible duplicate of bug 417378