| Summary: | In QML KCMs, QWidgets button accelerators/mnemonics can also be assigned in the KCM, leading to the shortcut sometimes not activating the button | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Vincent <vjciqw7p> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | akselmo, cwo.kde, dchmelik, furkanusta17, kde, nate, notmart, nyanpasu64, postix |
| Priority: | HI | Keywords: | accessibility, usability |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Vincent
2021-07-25 11:07:39 UTC
Can reproduce in all QtQuick-based KCMs. Does not seem to affect QWidgets KCMs. *** Bug 429169 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 449337 *** *** Bug 449322 has been marked as a duplicate of this bug. *** *** Bug 449337 has been marked as a duplicate of this bug. *** *** Bug 448995 has been marked as a duplicate of this bug. *** *** Bug 456386 has been marked as a duplicate of this bug. *** Can anyone still reproduce this on current Plasma? Both stock 6.3 in Fedora as well as master seem to immediately apply when I press the accelerator/mnemonic key. I still can. I think the issue is that the Kirigami Mnemonics know nothing about KAcceleratorManager, so for me I get Alt+W assigned to both "An&wenden" (Apply) and "&Weichen Bildlauf" (smooth scrolling) and when it gets activated ambiguously I Qt just cycles between the two. I can confirm this with english language in Remote Desktop settings: 1. Click on video slider so that apply is enabled 2. Press alt+a 3. Apply button gets focused but not pressed, since Autostart on login has same key combo assigned to it Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.80 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.0 Kernel Version: 6.15.0-61.fc43.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 16 GiB of RAM (15.5 GiB usable) Graphics Processor: AMD Radeon RX 6600 Right, I added this to the description to make more clear what the issue is - if there's no accelerator conflict, this works as expected. I dont know straightforward way to share this information between quick and widgets. If theres some way to tell the other accelerator system "these are reserved already" that might work. *** Bug 510009 has been marked as a duplicate of this bug. *** this seems the sum of 2 distinct problems: one is alt+a sometimes not triggering (for instnace i have it working on the wallpaper kcm only once: all the subsequent times only focus the button) and another issue is that since qwidget and qml mnemonics have 2 separate dictionaries they can clash and in some kcms, for instance on the fonts one (in english) they do and alt+a is stolen form the apply button after a better look at this, the problem seems always the clash between qml and qwidget shortcuts A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1930 *** Bug 437301 has been marked as a duplicate of this bug. *** |