Bug 485806

Summary: PlasmaShell context menu renders as window if invoked within Firefox decoration shadow with other app's window selected.
Product: [Plasma] kwin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: appmenuAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kdedev
Priority: NOR Flags: 4wy78uwh: performance-
4wy78uwh: Wayland+
4wy78uwh: Intel-
4wy78uwh: Mesa+
4wy78uwh: NVIDIA-
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Production of the problem.
Depiction of the problem.

Description Roke Julian Lockhart Beedell 2024-04-19 18:37:54 UTC
Created attachment 168686 [details]
Production of the problem.

STEPS TO REPRODUCE
See the attached video:
1.  Invoke Firefox.
2.  Select a *different* application's window.
3.  Right-click on the shadow of Firefox's window.

OBSERVED RESULT
The plasmashell context menu renders as a separate window.

EXPECTED RESULT
It probably shouldn't.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.6.2
Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi
Comment 1 Roke Julian Lockhart Beedell 2024-04-19 18:38:08 UTC
Created attachment 168687 [details]
Depiction of the problem.
Comment 2 Roke Julian Lockhart Beedell 2024-04-19 18:38:32 UTC
Comment on attachment 168686 [details]
Production of the problem.

It's consistently producible.
Comment 3 TraceyC 2025-07-30 18:41:15 UTC
Thanks for the bug report. I'm sorry we weren't able to get to this yet. There have been many fixes and improvements since this was reported, and this issue may have been fixed.

Can you please re-test on your system with Plasma 6.4.3 or later and let us know if you can still reproduce the problem? If you can, please set this report back to REPORTED. Thanks!
Comment 4 Roke Julian Lockhart Beedell 2025-07-30 18:49:04 UTC
(In reply to TraceyC from comment #3)

I haven't seen it for some time, and can't reproduce it now. Thanks for reminding me to check this. I'll tentatively set to FIXED, but if WORKSFORME (or similar) is more accurate, please set what's best.