Bug 450376 - Enter key in application launcher doesn't work for Sleep / Restart / Shutdown / Leave
Summary: Enter key in application launcher doesn't work for Sleep / Restart / Shutdown...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 5.24.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://codereview.qt-project.org/c/q...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-16 11:59 UTC by ilya
Modified: 2022-02-16 18:34 UTC (History)
4 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 ilya 2022-02-16 11:59:43 UTC
SUMMARY
***
When using application launcher with keyboard, it is impossible to activate Sleep, Restart, Shutdown, or Leave items with Enter key. One has to press "Space" key to activate them; pressing "Enter" key moves focus to the main area with list of the application. This is inconsistent with other items in launcher menu, which both can be activated with Enter and Space keys.
***


STEPS TO REPRODUCE
1. Press Alt-F1 or other shortcut to open application launcher or open it with a mouse
2. Press "Tab" several times to highlight "Sleep", "Restart", "Shutdown" or "Leave" item
3. Press "Enter"

OBSERVED RESULT
The selected item loses focus, and list of the programs (favorites or applications) is selected instead.

EXPECTED RESULT
The selected item is activated (Sleep, Shutdown, or Restart  action is carried out, or Leave drop-down menu appears)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-02-16 18:34:46 UTC
This will actually be fixed by Noah's recent Qt work: https://codereview.qt-project.org/c/qt/qtbase/+/394849/6

If we're lucky, it'll get backported to our Qt5 patch collection; otherwise it will make an appearance in Qt6.