Bug 497998 - "Send pen button" shows more buttons than available
Summary: "Send pen button" shows more buttons than available
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_tablet (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-28 20:21 UTC by Nicolas Fella
Modified: 2024-12-29 13:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2024-12-28 20:21:27 UTC
STEPS TO REPRODUCE
1.  Connect graphics tablet with pen with e.g. two buttons
2. Open tablet KCM, go to Pen tab
3. Click on "Pen Button 1"
4. Click "Send pen button"

OBSERVED RESULT
A combobox with three entries button 1-3

EXPECTED RESULT
Only two entries since there's only two buttons

SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.9

ADDITIONAL INFORMATION
I guess technically sending button 3 even if there's only two works, so maybe this is a feature?
Comment 1 Joshua Goins 2024-12-29 13:20:39 UTC
Yes this is technically a feature, so people with only one pen button can trick an application into sending one they don't have.