SUMMARY When you use keyboard shortcut Alt+A to click on Apply button, the button is selected and not clicked. This is an inconsistency in the design since the other buttons get clicked when Alt+Letter shortcuts are used. STEPS TO REPRODUCE 1. Open System Settings > Screen Locking (this is just one of the examples, other pages have the same issue). 2. Adjust any setting so that Apply button becomes clickable. 3. Use Alt+A keyboard shortcut. OBSERVED RESULT Apply button gets selected. EXPECTED RESULT Apply button should get clicked. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.22 KDE Plasma Version: 5.22.3 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.3 Kernel Version: 5.8.0-63-generic (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION
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