Bug 444958

Summary: [Wayland] mouse clicks on GTK app menu are offset
Product: [Plasma] kwin Reporter: Alexander <alexander.reimelt>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.23.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander 2021-11-04 15:55:38 UTC
If a pen (Wacom) is connected mouse clicks go to the wrong menu entry in GTK windows. 
Only the mouse cursor is effected, tabbing the pen or clicking a pen button works, interestingly.

STEPS TO REPRODUCE
1. Connect pen
2. open GTK app (My Paint, Xournal++)
3. try to click with the mouse on a menu entry in the GTK window

OBSERVED RESULT
always the first entry receives the click

EXPECTED RESULT
the menu entry below the cursor should receive the click

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211102
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Comment 1 Nate Graham 2021-11-08 19:46:32 UTC
Cannot reproduce with the wacom touchscreen + pen built into my laptop.
Comment 2 Alexander 2022-02-18 12:24:06 UTC
I can't reproduce it anymore with Plasma 5.24