Bug 417028

Summary: Don't make tabbing to "okay" and "cancel" button possible
Product: [Plasma] plasmashell Reporter: postix <postix>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: normal CC: plasma-bugs-null, postix
Priority: NOR    
Version First Reported In: 5.17.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=417056
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description postix 2020-02-01 16:23:37 UTC
SUMMARY

If you go to the logout screen eg 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.

There are now two problems:

1) none of those button work if you press the enter key now.
2) if you highlight "okay", none of the actions "standby, hibernation, etc." is chosen and therefore the action of this button would be undefined.

Thus it would make sense it restrict the tabbing to only the "standby .. logout" actions.
To leave the screen, you still can always press ESC.


* press the tabulator button to hop from one control to the next
or shift+tab to hop backwards


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.0
Kernel Version: 5.5.0-1-MANJARO
Comment 1 David Edmundson 2020-02-02 06:50:00 UTC
Please write reports on the problem not a proposed solution. Clearly something is valid there, those buttons should react in enter. The proposed fix is not the way forward.
Comment 2 postix 2020-02-02 11:11:36 UTC
(In reply to David Edmundson from comment #1)
> Please write reports on the problem not a proposed solution. Clearly
> something is valid there, those buttons should react in enter. The proposed
> fix is not the way forward.

Yea, I should have put it to the "wishlist".