Bug 502083 - When tablet area is mapped to portion of the tablet, input is not detected if you go from outside the area to inside the area.
Summary: When tablet area is mapped to portion of the tablet, input is not detected if...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: git master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-27 17:57 UTC by duha.bugs
Modified: 2025-03-31 19:05 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description duha.bugs 2025-03-27 17:57:45 UTC
SUMMARY
*note:* this is with libinput version 1.28.0 which should include https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1118

When tablet area is mapped to portion of the tablet input is not detected (cursor does not move) if you go from outside the area to inside the area. It only gets detected if you hover (so the stylus is not detected by the tablet) and then go inside the mapped tablet area.

"libinput debug-events" events are received even outside the mapped area, also when inside the mapped area while the cursor is not moving.

STEPS TO REPRODUCE
1. Map tablet area to portion
2. Go from outside the tablet area to inside the tablet area


OBSERVED RESULT
Cursor does not move

EXPECTED RESULT
Cursor moves as soon as the mapped tablet area is reached.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
libinput 1.28.0

ADDITIONAL INFORMATION
Comment 1 duha.bugs 2025-03-31 19:05:00 UTC
A little bit more digging: It depends on the mapped Area.

Example 1: The tablet Area is mapped to the left half
Once outside the tablet area the cursor can only enter from the right side

Example 2: The tablet Area is mapped to the right half
Once outside the tablet area the cursor can only enter from the left side

Example 3: The tablet Area is mapped to the top left quarter.
Once outside the tablet area the cursor can only enter from the bottom right side


Example 4: The tablet Area is mapped to the top right quarter
Once outside the tablet area the cursor can only enter from the bottom left side

When its a mapped area in the center, the cursor can sometimes enter, not sure when tough.