Bug 480229 - Tablet pad buttons should be able to be bound to tablet specific actions
Summary: Tablet pad buttons should be able to be bound to tablet specific actions
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_tablet (show other bugs)
Version: 5.92.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 15:11 UTC by Sebastian Parborg
Modified: 2024-06-16 15:25 UTC (History)
4 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 Sebastian Parborg 2024-01-23 15:11:17 UTC
SUMMARY

Users on Windows, Mac and Gnome (wayland) are able to bind tablet pad buttons to certain actions related to the tablet.
For example switching screens (Switch to screen 1,2,3... or next screen), toggle relative/absolute mode for the pen. Etc.

It is possible to work around this by creating a keyboard shortcut (for example Ctrl+Alt+P) for that tablet specific action and then bind the same keyboard presses to the pad button however this has some unexpected side effects.

1. Even if you will never use this shortcut on the keyboard, you have to assign keys to it
2. When pressing and holding the tablet pad button it will eventually start repeating the key presses. On Gnome/Windows/Mac there is no key repeat like this when binding the buttons directly to tablet actions like switching screens.

Note that this was possible in Xorg Plasma by using `xsetwacom`. However as this has to be handle via the compositor now, it can't be done without explicit support in Plasma.

STEPS TO REPRODUCE
1. Try to bind any tablet button to a tablet related action (only "switch to next screen" is currently available in plasma wayland)
2. Notice that you can only assign keyboard keys to the buttons.

OBSERVED RESULT
No way to bind tablet buttons to actions directly

EXPECTED RESULT
Being able to bind specific tablet actions directly to the buttons.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Gentoo/Plasma 5.92.0