Bug 494461 - When using a tablet pen clicks on the title bar of an XWayland window get passed through to other XWayland windows behind
Summary: When using a tablet pen clicks on the title bar of an XWayland window get pas...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: xwayland (other bugs)
Version First Reported In: 6.2.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 16:05 UTC by Kath
Modified: 2025-01-23 12:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.3.0
Sentry Crash Report:


Attachments
Video of title bar dragging &reizing with tablet pen (1.04 MB, video/webm)
2024-10-10 16:05 UTC, Kath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kath 2024-10-10 16:05:11 UTC
Created attachment 174638 [details]
Video of title bar dragging &reizing with tablet pen

SUMMARY
Clicks on the title bar of an XWayland window get passed through to other XWayland windows behind when using a tablet pen.

STEPS TO REPRODUCE
1. Open two XWayland applications.
2. Maximize one window and position the other in front of it.
3. Using a tablet pen, click and drag on the title bar of the window in front to move the window.

OBSERVED RESULT
The click and drag are passed through to the window behind, while also moving the window in front. See attached video.

EXPECTED RESULT
Clicks and drags on the title bar do not affect other windows.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.12-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
Tablet: Wacom Intuos Art Small, CTH-490/K

ADDITIONAL INFORMATION
I have attached a video showing this with Krita (5.2.3) and GIMP (2.10.38). Moving or resizing the Krita window, causes lines to be drawn within GIMP.

Apologies for the choppy video quality.
Comment 1 petra_m_ 2025-01-23 12:16:18 UTC
I could reproduce the issue on a KDE Neon live session using the latest stable version. Based on our experiences it looks like tablets and XWayland on kwin don't mix.
Comment 2 petra_m_ 2025-01-23 12:25:29 UTC
I must add that I used a tablet PC for testing the bug.
Comment 3 Vlad Zahorodnii 2025-01-23 12:28:32 UTC
Fixed in 6.3.0