Bug 417056 - No way to push "okay" or "cancel" button if tabbed to on logout screen
Summary: No way to push "okay" or "cancel" button if tabbed to on logout screen
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (other bugs)
Version First Reported In: 5.17.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: visual-design
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-02-02 11:12 UTC by postix
Modified: 2021-03-10 19:26 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 postix 2020-02-02 11:12:23 UTC
If you go to the logout screen e.g. by Ctrl+Alt+Del, where you can choose between 
standby, hibernation, reboot, shutdown and logout, 
you can tab between controls. 
Once "logout" is focused, the next hop will lead you to the "okay" button and then to the "cancel" button.

Issue: Both the "okay" button and "cancel" button do not work if you press the enter key now.
Comment 1 Nate Graham 2021-03-10 04:36:36 UTC
You use the spacebar, not the return key. That's the general way to simulate a click on the focus item.
Comment 2 postix 2021-03-10 19:09:18 UTC
(In reply to Nate Graham from comment #1)
> You use the spacebar, not the return key. That's the general way to simulate
> a click on the focus item.

Is it? If I have a Plasma context menu open I can simulate a click by pressing the "return" key and not "space". If I have kicker open, I can open an application by hitting "return". If I have KeePassXC open, entered my password, I log in by hitting "return". Not sure where using the spacebar is actually the "general" way. :)
Comment 3 Nate Graham 2021-03-10 19:24:15 UTC
It's the general way to virtually click on a UI element that you have focused with the keyboard. Not working in menus is a bug, darn. In Kicker, it doesn't work because the spacebar is consumed by the search field. Keepasscx isn't applicable; if you actually tabbed over to the "ok" or "login" button and hit the spacebar, I'm reasonably confident that it would in fact work.
Comment 4 postix 2021-03-10 19:26:48 UTC
(In reply to Nate Graham from comment #3)
> Keepasscx isn't applicable; if you actually tabbed over to the "ok" or "login" button and hit the spacebar, I'm reasonably confident that it would in fact work.

Indeed, in this case both "return" and "space" work.