Bug 513184

Summary: Allow stylus input to optionally behave like touchscreen input (tap-to-click, gesture actions, scrolling)
Product: [Plasma] kwin Reporter: evgeniyharchenko.dev
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: duha.bugs, evgeniyharchenko.dev, josh, nate
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description evgeniyharchenko.dev 2025-12-10 17:16:53 UTC
SUMMARY
Currently in KDE Plasma 6 (Wayland), stylus input is handled strictly as "pen" type devices, which results in very different behavior compared to touchscreen (finger) input.  This creates usability problems for tablet PC/2-in-1 devices, where users often want the stylus to act like a finger in certain scenarios.

Examples of missing behaviors:
– No tap-to-click behavior identical to touchscreen tap.
– No touchscreen-style scrolling by dragging (stylus only selects text instead of scrolling).
– No gesture support (e.g. swipe back, swipe to open overview, edge gestures).
– No option to treat a stylus tap as a normal pointer tap (without hover behavior).

Many users on convertible devices expect stylus ≈ finger behavior, but KDE currently provides no option to remap pen input to touchscreen-like input for basic interactions.

Feature request:
Add an optional mode (e.g. in kcm_tablet) which allows the user to enable "touch-like stylus mode". This mode would:
1. Convert stylus taps into touchscreen-like taps (same gesture triggers).
2. Enable drag-to-scroll behavior like on a touchscreen.
3. Optionally disable hover actions.
4. Allow stylus actions to trigger global gestures handled by KWin.

STEPS TO REPRODUCE
1. Use a 2-in-1 device or tablet PC under KDE Plasma 6.
2. Interact with applications using the stylus.
3. Attempt touchscreen-like actions such as:
   – scrolling by dragging
   – swipe gestures
   – simple tap-to-click behavior
4. Stylus behaves strictly as a pointer device, not as touch input.

OBSERVED RESULT
Stylus acts as a classic pointer device like touchpad (hover, selection, no gestures, no drag scroll).

EXPECTED RESULT
Optionally allow stylus to behave like finger input:
– tap behaves as touchscreen tap
– drag scrolls content
– gestures work