Bug 483910

Summary: TitleBar context-menu (right-click titlebar) opens in wrong location
Product: [Plasma] kwin Reporter: Jeff Beardsley <jbeard565>
Component: appmenuAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: xaver.hugl
Priority: NOR Keywords: qt6
Version: 6.0.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Right-Click in InfoCenter (mouse shown), Menu off to the left

Description Jeff Beardsley 2024-03-18 15:47:19 UTC
SUMMARY
***
Since updating to Plasma 6 (confirmed on 6.0.1 and 6.0.2) right-click on a titlebar no longer shows the additional-actions menu near the mouse.  The menu IS SHOWN, but it is always in the upper left corner of my leftmost display. 
***

STEPS TO REPRODUCE
1. Right-click on the title-bar of any primary window

OBSERVED RESULT
Menu appears in near the top of my leftmost display, offset from the upper-right corner by what would be the correct amount if measured from the frame in question.  In other words, it appears like the menu is using the desktop as it's parent, instead of the frame associated with the title-bar.

EXPECTED RESULT
Menu should appear near the mouse

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.2
KDE Plasma Version:  6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
I am currently running Wayland
Comment 1 Jeff Beardsley 2024-03-18 18:26:14 UTC
I have now confirmed the problem is present when running X11 as well.
Comment 2 Jeff Beardsley 2024-03-18 18:45:55 UTC
Created attachment 167419 [details]
Right-Click in InfoCenter (mouse shown), Menu off to the left
Comment 3 Zamundaaa 2024-03-18 19:55:59 UTC

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