Bug 469591 - Tab + Enter not working consistently in Kickoff
Summary: Tab + Enter not working consistently in Kickoff
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: master
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-05-10 17:53 UTC by Andres Betts
Modified: 2023-05-15 20:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Betts 2023-05-10 17:53:01 UTC
It appears that tab + Enter does not work in Kickoff in all areas. When tabbing through the interface I selected the session icons for sleep, restart, shut down and they would not activate when hitting ENTER. However, tab to select applications did work when hitting ENTER.

Wayland, latest unstable build. Neon.
Comment 1 Nate Graham 2023-05-15 19:20:25 UTC
When using keyboard navigation, Enter isn't the button that triggers the highlighted item; it's the Spacebar. This is pretty much universally true everywhere (except for in Elisa, where we deliberately break this because the spacebar should always trigger play/pause regardless of focus). So I'm afraid at the moment, this is the expected behavior.
Comment 2 Andres Betts 2023-05-15 19:53:55 UTC
Can we say that it should always be the space bar and "not" the enter key? Because then, right now, the enter key works to launch items in kickoff. I think you're saying that it should be the spacebar.
Comment 3 Nate Graham 2023-05-15 20:11:17 UTC
The general rule is: when navigating with the keyboard, the spacebar will activate the highlighted item. This is baked into Qt's keyboard navigation system.

Sometimes, the Enter/Return key will also do it, especially in item views where items are commonly navigated between using the karrow keys (e.g. KRunner). But never for UI controls like buttons.