Summary: | Bounce key delay doesn't seem to use the correct value | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | kattaleya22 |
Component: | kcm_accessibility | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | minor | CC: | kde, tomboshoven |
Priority: | NOR | Keywords: | accessibility, wayland-only |
Version First Reported In: | 6.1.2 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
kattaleya22
2024-07-04 10:12:28 UTC
This feature indeed appears to not work very well for key chatter. 100ms is generally too high a value for this purpose. When I manually set it to 40ms in .config/kaccessrc it does help in my case (also key chatter), but it's not perfect. The libinput docs have a section on debouncing (https://wayland.freedesktop.org/libinput/doc/latest/button-debouncing.html#button-debouncing) to solve hardware defects versus for accessibility. It looks like the former is implemented as part of libinput and the latter is not. KDE does not appear to provide both. Can reproduce, it's not saving properly Git commit 52e94bf0a39b6e6aeaadefc89d4b4dbd37547be0 by David Edmundson. Committed on 27/01/2025 at 10:20. Pushed by davidedmundson into branch 'master'. kcms/access use working validator on spinboxes The KCM is full of many Spinboxes with suffixes. A function removes the suffix when extracting the value, however by default all spinboxes have an IntValidator on them. The value extraction is not run before the validation, meaning the IntValidator always fails. The end result is that typing in the spinbox does not work correctly with no change signal ever emitted. We cannot remove the IntValidator as no other code checks that values are in bounds. This patch adds a custom validator that strips additional text before using the int validation code. M +21 -0 kcms/access/kcmaccess.cpp M +6 -5 kcms/access/ui/ActivationShortcuts.qml M +11 -2 kcms/access/ui/KeyboardFilters.qml M +16 -1 kcms/access/ui/MouseNavigation.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/52e94bf0a39b6e6aeaadefc89d4b4dbd37547be0 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2777 Git commit 79629a65f65f32ed10fc9bb4ef94be123d4cabb9 by Nate Graham. Committed on 30/01/2025 at 00:03. Pushed by ngraham into branch 'Plasma/6.3'. kcms/access use working validator on spinboxes The KCM is full of many Spinboxes with suffixes. A function removes the suffix when extracting the value, however by default all spinboxes have an IntValidator on them. The value extraction is not run before the validation, meaning the IntValidator always fails. The end result is that typing in the spinbox does not work correctly with no change signal ever emitted. We cannot remove the IntValidator as no other code checks that values are in bounds. This patch adds a custom validator that strips additional text before using the int validation code. (cherry picked from commit 52e94bf0a39b6e6aeaadefc89d4b4dbd37547be0) 84fa951a kcms/access use working validator on spinboxes Co-authored-by: David Edmundson <kde@davidedmundson.co.uk> M +21 -0 kcms/access/kcmaccess.cpp M +6 -5 kcms/access/ui/ActivationShortcuts.qml M +11 -2 kcms/access/ui/KeyboardFilters.qml M +16 -1 kcms/access/ui/MouseNavigation.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/79629a65f65f32ed10fc9bb4ef94be123d4cabb9 |