Bug 505542 - Pressing Enter on the restart button doesn't enter the restart button
Summary: Pressing Enter on the restart button doesn't enter the restart button
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 6.3.91
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2025-06-12 19:12 UTC by Fernando M. Muniz
Modified: 2025-07-05 16:05 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2025-06-12 19:12:25 UTC
1- Navigate to the restart button with the keyboard.
2- Press Enter.

Result:
It redirects the focus to the Application Menu.
Comment 1 Fernando M. Muniz 2025-06-12 19:23:35 UTC
The shutdown, suspend, and session buttons also don't work.
Comment 2 Nate Graham 2025-06-13 14:53:37 UTC
This is unfortunately something that needs to be implemented in Qt. It's a surprisingly large project — much more than you might imagine.
Comment 3 cwo 2025-06-13 16:01:08 UTC
We special-case this in the menu/runner part of Kicker, so we should do the same for the buttons. For those, only Enter/Return work (space sends a space to the search bar), it makes no sense to have it the other way around for the favorites.
Comment 4 cwo 2025-06-23 20:45:40 UTC
Git commit 3e3837856c18998503283c0d44d8bb60c25dd809 by Christoph Wolk.
Committed on 23/06/2025 at 20:09.
Pushed by cwo into branch 'master'.

applets/kicker: activate favorites on enter/return

For menu entries, Space to activate does not work (it sends a space to
the search field), only Enter/Return, but for the favorites buttons on
the side, only Space works, Enter/Return do nothing.

Instead, allow Enter/Return to activate the item as well, so users can
use the same keys in all modes. We also switch the implementation to
immediately close kicker on activation using the keyboard, like is
already done when  clicking an item with the mouse; this makes operation
feel more responsive.
FIXED-IN: 6.4.1

M  +8    -1    applets/kicker/package/contents/ui/SideBarItem.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/3e3837856c18998503283c0d44d8bb60c25dd809
Comment 5 Nate Graham 2025-06-26 13:37:43 UTC
Git commit aa54f84bebb84181feda3d7e2d75ecc05dbfc67c by Nate Graham, on behalf of Christoph Wolk.
Committed on 26/06/2025 at 13:37.
Pushed by ngraham into branch 'Plasma/6.4'.

🍒applets/kicker: activate favorites on enter/return

For menu entries, Space to activate does not work (it sends a space to
the search field), only Enter/Return, but for the favorites buttons on
the side, only Space works, Enter/Return do nothing.

Instead, allow Enter/Return to activate the item as well, so users can
use the same keys in all modes. We also switch the implementation to
immediately close kicker on activation using the keyboard, like is
already done when  clicking an item with the mouse; this makes operation
feel more responsive.
FIXED-IN: 6.4.2


(cherry picked from commit 3e3837856c18998503283c0d44d8bb60c25dd809)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +8    -1    applets/kicker/package/contents/ui/SideBarItem.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/aa54f84bebb84181feda3d7e2d75ecc05dbfc67c
Comment 6 Roke Julian Lockhart Beedell 2025-06-28 10:18:27 UTC
(In reply to Nate Graham from comment #2)

Is a QTBUG tracking that?
Comment 7 Nate Graham 2025-07-05 16:05:01 UTC
Somewhere, but I can't seem to find it.