Bug 411758 - kcmshell5 screenlocker does not close on Alt-O "OK" shortcut
Summary: kcmshell5 screenlocker does not close on Alt-O "OK" shortcut
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.62.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-09 14:37 UTC by Fabian Vogt
Modified: 2025-05-28 07:11 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 Fabian Vogt 2019-09-09 14:37:31 UTC
The OK button has the O accelerator and Alt-O highlights the button, but does not press it.
Using Ctrl-Return works fine.
Comment 1 Fabian Vogt 2019-09-27 12:51:45 UTC
Seems to be a kirigami design issue. The MnemonicAttached class does not/can not check whether an accelerator is already used by the QWidget world, which results in duplicates.

In this case it's either "P&ositioning" or "&Order" as duplicate.
Comment 2 Marco Martin 2019-10-03 09:55:27 UTC
I think i'll try to detect if we are in a QQuickWidget. in this case i'll disable completely the automatic computation of shortcuts
Comment 3 Marco Martin 2019-10-03 12:03:53 UTC
Git commit 32d724f2b68c2e2386a1d27c654bcf6530bdf07e by Marco Martin.
Committed on 03/10/2019 at 12:02.
Pushed by mart into branch 'master'.

don't generate shortcuts in QQuickWidget

if our qml scene is inside qwidgets: we can't check
our automatic shortcuts aren't conflicting with the ones from qwidgets
only use the ones the user explicitly specified with & in this case

M  +18   -8    src/mnemonicattached.cpp
M  +1    -1    src/mnemonicattached.h

https://commits.kde.org/kirigami/32d724f2b68c2e2386a1d27c654bcf6530bdf07e
Comment 4 John Kizer 2025-04-28 05:06:51 UTC
Hi - I no longer see an "O" accelerator on the lock screen - is the underlying issue still applicable in Plasma 6?

Thanks!
Comment 5 Bug Janitor Service 2025-05-13 03:46:46 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-05-28 03:47:29 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 7 Fabian Vogt 2025-05-28 07:11:10 UTC
(In reply to John Kizer from comment #4)
> Hi - I no longer see an "O" accelerator on the lock screen

It's about the KCM, where holding the Alt key does show O for the Ok button.

> - is the
> underlying issue still applicable in Plasma 6?
> 
> Thanks!

Nope, the commit from comment 3 fixed this.