Bug 507820 - Don't automatically turn on tablet mode/touch mode when connected to any external monitors
Summary: Don't automatically turn on tablet mode/touch mode when connected to any exte...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.80
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-03 17:29 UTC by Antheas Kapenekakis
Modified: 2025-08-08 17:20 UTC (History)
2 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 Antheas Kapenekakis 2025-08-03 17:29:07 UTC
I am testing a tablet mode patch for the Asus ROG Z13. With this patch, when removing the keyboard of the device, it will emit a tablet mode event from its WMI hotkeys. The keyboard is removed, because the form factor is better this way for docked use. Other devices are similar too, such as flip laptops.

When I remove it, my docked monitor turns into touch mode, and increases its touch targets substantially. But it is not a touchscreen, so this results in a utility degradation.

To mitigate this, one of either two things could be implemented. 1) only apply touch mode to touchscreens, which still allows for usability benefits on the touchscreen or 2) add an option under "Touch mode -> Automatically enable as needed"  to disable touch mode while docked to an external display
Comment 1 Nate Graham 2025-08-08 17:20:41 UTC
Yeah, touch mode is currently global, not per-screen.

Disabling it when there are external monitors is probably going to be the by far simpler approach compared to making it per-screen (which would entail effectively rewriting the feature from scratch). Let's consider that.