Bug 459143

Summary: Touch Mode should incorporate awareness of whether the screen it's being used on has touch capabilities
Product: [Plasma] kwin Reporter: Benjamin Hennion <benjamin.hennion>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: nate, notmart, raphael.kde
Priority: NOR Keywords: multiscreen
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=459973
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Benjamin Hennion 2022-09-15 09:09:14 UTC
SUMMARY
Under Wayland, when in tablet mode with a dual screen, the icons (tray bar + window's titlebars) are bigger to make touch input easier. This is great!
This feature, however, would be better if it only affected windows and panels on (or partially on, maybe) the touchscreen(s), and not on any other monitor.

This looks like something that may be difficult to implement, especially for the window's title bars. Implementing this for the panels and icon tray thereon might be simpler, and would, IMO, already be an improvement.

STEPS TO REPRODUCE
1. Plug in a second monitor, set up a panel with an icon tray on this monitor.
2. Go into tablet mode.
3. Observe that the icons got bigger on the second monitor as well.
Comment 1 Nate Graham 2022-09-15 16:59:32 UTC
Quite difficult, yeah. Right now Touch Mode is a global thing. We would have to add logic that basically amounts to

Kirigami.Settings.tabletMode && CurrentScreen.HasTouchCapabilities

in every place where we currently check for tablet mode being enabled and disabled. Maybe we could build it into the tabletMode check itself.
Comment 2 Nate Graham 2024-08-29 19:56:15 UTC
*** Bug 492327 has been marked as a duplicate of this bug. ***