Bug 459143 - Touch Mode should incorporate awareness of whether the screen it's being used on has touch capabilities
Summary: Touch Mode should incorporate awareness of whether the screen it's being used...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
: 492327 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-15 09:09 UTC by Benjamin Hennion
Modified: 2024-08-29 19:56 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***