Bug 482689

Summary: Title bar context menu shows up at a wrong position
Product: [Plasma] kwin Reporter: yunusaydin590
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: grahamperrin
Priority: NOR Keywords: qt6
Version: 6.0.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A video showcasing the bug

Description yunusaydin590 2024-03-07 11:07:03 UTC
Created attachment 166570 [details]
A video showcasing the bug

SUMMARY
When you right-click a window's title bar, the context menu shows up somewhere else.


STEPS TO REPRODUCE
1. Open a window
2. Right click to title bar

OBSERVED RESULT
The context menu shows up somewhere else, but it is still relative to mouse position

EXPECTED RESULT
The context menu show up next to mouse

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.71-1-lts (64-bit)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
X11
Comment 1 Vlad Zahorodnii 2024-03-07 13:47:49 UTC

*** This bug has been marked as a duplicate of bug 480864 ***
Comment 2 Graham Perrin 2024-03-10 03:04:54 UTC
(In reply to yunusaydin590 from comment #0)

> X11

(In reply to Vlad Zahorodnii from comment #1)

So, bug 480864 (Titlebar context menu of non-maximized Aurorae-decorated windows is misplaced on Wayland) and <https://bugreports.qt.io/browse/QTBUG-121987> are not Wayland-only?

The shot at <https://forums.freebsd.org/attachments/2024-03-08-23-24-03-kwin-context-menu-misplaced-png.18430/> is from <https://forums.freebsd.org/posts/646504> for Plasma (X11) on FreeBSD 15.0-CURRENT.