https://bugs.kde.org/show_bug.cgi?id=516442
Bug ID: 516442
Summary: Wacom tablet always shows 3 buttons even if fewer are
supported
Classification: Applications
Product: systemsettings
Version First master
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_tablet
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
Created attachment 189907
--> https://bugs.kde.org/attachment.cgi?id=189907&action=edit
libwacom-list-local-devices output
SUMMARY
I have a Thinkbook 14s Yoga. All the pens supported for this model in libwacom
only have one button (see attachment). PLasma used to correctly show one button
in the KCM until 6.5.4, but now it always shows 3 buttons.
I have taken a look at the logs and code listings and I think this is a
regression introduced by
https://invent.kde.org/plasma/plasma-desktop/-/commit/b1c4cf7b11a9f320709246a47056542ac8093a46.
If I understand the code correctly, the newly introduced logic now effectively
does
numButtons = max( (numButtons on any stylus), 3).
Included is a patched kcmtablet.cpp, where the logic is changed to:
numButtons = tabletSupported? max(numButtons on any stulys), 3
which is what I think was intended here.
I can try getting a second drive and buiding this to test it .
STEPS TO REPRODUCE
1. Open the Drawing Tablet KCM on a Lenovo Yoga device
Operating System: Fedora Linux 43
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.12-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 20WE
System Version: ThinkBook 14s Yoga ITL
--
You are receiving this mail because:
You are watching all bug changes.