Bug 498851

Summary: Tapping once outside of the mapped tablet area leaves the tablet unresponsive until reconnected
Product: [Plasma] kwin Reporter: Antti Savolainen <antti.savo>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: duha.bugs
Priority: NOR    
Version First Reported In: 6.2.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antti Savolainen 2025-01-18 15:40:45 UTC
SUMMARY
Demonstrative video: https://youtu.be/Bfpxb_C03KE
If I use "Map to Portion" option for a tablet, reduce the mapped area and then tap outside of it once, it leaves the tablet in an unresponsive state. libinput is able to detect the input but kwin is not until the tablet is replugged.

STEPS TO REPRODUCE
1. Go to the Drawing Tablet KCM
2. Select "Map to Portion"
3. Reduce the size of the area on the tablet and Apply
4. Tap once outside of the mapped area with a stylus

OBSERVED RESULT
Kwin no longer accepts input from the tablet

EXPECTED RESULT
The tablet should continue to function as normal

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.10.0
Qt Version: 6.9.0
Comment 1 Vlad Zahorodnii 2025-01-29 13:31:15 UTC
I can confirm
Comment 2 Vlad Zahorodnii 2025-01-29 14:28:55 UTC
It's a libinput bug https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1118