Created attachment 186401 [details] Screenshot of the SUMMARY I have a Wacom Intuos Pro Large tablet with a Pro Pen 3D (with 3 side buttons and no eraser). The System Settings menu used to have an option to configure all 3 pen buttons but it seems to have gone missing at some point (it's been a while so I can't remember exactly when, apologies! - I remember versions of Plasma 5 having it) STEPS TO REPRODUCE 1. Open the System Settings application with a drawing tablet connected 2. Navigate to Drawing Tablet and open the Pen tab 3. Observe OBSERVED RESULT Options labeled Pen button 1 and 2 to customize the first 2 buttons EXPECTED RESULT An additional option to customize the 3rd button SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Kinoite 43 KDE Plasma Version: 6.5.1 KDE Frameworks Version: 6.19.0 Qt Version: 6.10.0 ADDITIONAL INFORMATION On Windows, Mac and GNOME, the settings/tablet apps can detect the model of whatever pens have been used with the tablet and display the correct button/eraser settings for each one.
Looking at the libwacom definition (I think I found the right pen?) it lists three buttons, so clearly something in our data is out-of-whack. Can I get more specific model numbers for that tablet and pen? Using libusb and getting the USB vendor and product IDs should be enough.
Oh and another thing to ask: that's the only pen connected and listed correct? Your screenshot doesn't show the whole window.
Hi! Yes, it's the only pen and tablet listed (I only cropped out the [Display], [Pen], [Pad] and [Test Tablet...] buttons), the UI doesn't change when switching between pens either. The tablet model is PTH-860, ID 056a:0358. The pen model is KP505, ID 0x80842. I got the id from libinput debug-events instead. Pasting the relevant outputs below for completion, to be sure I wasn't looking at the wrong places for IDs. I'll be happy to provide more info if needed. Thanks! Output of lsusb: [...] Bus 001 Device 005: ID 056a:0358 Wacom Co., Ltd PTH-860 [Intuos Pro (L)] [...] Output of libinput list-devices: [...] Device: Wacom Intuos Pro L Pen Kernel: /dev/input/event10 Id: usb:056a:0358 Group: 5 Seat: seat0, default Size: 311x216mm Capabilities: tablet Tap-to-click: n/a Tap-and-drag: n/a Tap button map: n/a Tap drag lock: n/a Left-handed: disabled Nat.scrolling: n/a Middle emulation: n/a Calibration: n/a Scroll methods: none Scroll button: n/a Scroll button lock: n/a Click methods: none Clickfinger button map: n/a Disable-w-typing: n/a Disable-w-trackpointing: n/a Accel profiles: none Rotation: n/a Area rectangle: (0.00, 0.00) - (1.00, 1.00) Device: Wacom Intuos Pro L Pad Kernel: /dev/input/event11 Id: usb:056a:0358 Group: 5 Seat: seat0, default Capabilities: tablet-pad Tap-to-click: n/a Tap-and-drag: n/a Tap button map: n/a Tap drag lock: n/a Left-handed: disabled Nat.scrolling: n/a Middle emulation: n/a Calibration: n/a Scroll methods: none Scroll button: n/a Scroll button lock: n/a Click methods: none Clickfinger button map: n/a Disable-w-typing: n/a Disable-w-trackpointing: n/a Accel profiles: n/a Rotation: n/a Area rectangle: n/a Pad: Rings: 1 Strips: 0 Dials: 0 Buttons: 9 Mode groups: 1 Group 0: Modes: 4 Buttons: 0, 1, 2, 3, 4, 5, 6, 7, *8 Rings: 0 Device: Wacom Intuos Pro L Finger Kernel: /dev/input/event12 Id: usb:056a:0358 Group: 5 Seat: seat0, default Size: 310x216mm Capabilities: pointer gesture Tap-to-click: enabled Tap-and-drag: enabled Tap button map: left/right/middle Tap drag lock: disabled Left-handed: disabled Nat.scrolling: disabled Middle emulation: n/a Calibration: n/a Scroll methods: *two-finger edge Scroll button: n/a Scroll button lock: n/a Click methods: none Clickfinger button map: n/a Disable-w-typing: n/a Disable-w-trackpointing: n/a Accel profiles: flat *adaptive custom Rotation: n/a Area rectangle: n/a [...] Output of libinput debug-events: [...] -event10 DEVICE_ADDED Wacom Intuos Pro L Pen seat0 default group5 cap:T size 311x216mm left -event11 DEVICE_ADDED Wacom Intuos Pro L Pad seat0 default group5 cap:P left buttons:9 strips:0 rings:1 mode groups:1 -event12 DEVICE_ADDED Wacom Intuos Pro L Finger seat0 default group5 cap:pg size 310x216mm tap (dl off) left scroll-nat scroll-2fg-edge [...] event10 TABLET_TOOL_PROXIMITY +3.282s 169.40*/190.25* tilt: -29.15*/-13.07* distance: 0.41* pen (0x188019da, id 0x80842) proximity-in axes:dpt btn:SS2 event10 TABLET_TOOL_AXIS +0.006s 244.12*/189.16* tilt: -4.77*/-3.77* distance: 0.33* event10 TABLET_TOOL_AXIS 2 +0.012s 244.20*/189.24* tilt: -4.27*/-3.27* distance: 0.33 event10 TABLET_TOOL_AXIS 3 +0.015s 244.29*/189.32* tilt: -3.77 /-2.51* distance: 0.43* event10 TABLET_TOOL_AXIS 4 +0.021s 244.38*/189.40* tilt: -3.27 /-1.76 distance: 0.59* event10 TABLET_TOOL_AXIS 5 +0.027s 244.43*/189.43* tilt: -3.02 /-1.26 distance: 0.73* event10 TABLET_TOOL_AXIS 6 +0.030s 244.44*/189.44* tilt: -3.02 /-0.75* distance: 0.84* event10 TABLET_TOOL_AXIS 7 +0.036s 244.45*/189.46* tilt: -3.02 /-0.50 distance: 0.95* event10 TABLET_TOOL_AXIS 8 +0.042s 244.46*/189.47* tilt: -3.02 /0.00* distance: 1.00* event10 TABLET_TOOL_AXIS 9 +0.045s 244.46 /189.50* tilt: -3.02 /0.25* distance: 1.00 event10 TABLET_TOOL_PROXIMITY +3.380s 170.29 /190.35 tilt: -15.08 /-3.02 distance: 0.97 pen (0x188019da, id 0x80842) proximity-out [...]
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3345
Thanks, that's exactly the information I needed! Posted a patch that fixes this.
Git commit b1c4cf7b11a9f320709246a47056542ac8093a46 by Joshua Goins. Committed on 01/12/2025 at 21:18. Pushed by redstrate into branch 'master'. kcms/tablet: Obtain a better number of buttons for certain pens For certain tablets, they can report more than one supported styli. Users have encountered issues with Wacom tablets that follow this behavior, which becomes frustrating when we happen to pick the stylus that has fewer buttons. While our UX could be improved here, I chose to pick the largest amount of buttons from every stylus. This could mean that a user sees more buttons than supported, but that's better than the buggy behavior. FIXED-IN: 6.5.4 M +5 -3 kcms/tablet/kcmtablet.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/b1c4cf7b11a9f320709246a47056542ac8093a46
Git commit 30622c06a187817ca2c155823cde8f3d0f030d1f by Joshua Goins. Committed on 02/12/2025 at 22:14. Pushed by redstrate into branch 'Plasma/6.5'. kcms/tablet: Obtain a better number of buttons for certain pens For certain tablets, they can report more than one supported styli. Users have encountered issues with Wacom tablets that follow this behavior, which becomes frustrating when we happen to pick the stylus that has fewer buttons. While our UX could be improved here, I chose to pick the largest amount of buttons from every stylus. This could mean that a user sees more buttons than supported, but that's better than the buggy behavior. FIXED-IN: 6.5.4 (cherry picked from commit b1c4cf7b11a9f320709246a47056542ac8093a46) Co-authored-by: Joshua Goins <josh@redstrate.com> M +5 -3 kcms/tablet/kcmtablet.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/30622c06a187817ca2c155823cde8f3d0f030d1f