Skip to content

Add option to disable shutdown hotkeys #447

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Closed
LudiusMaximus opened this issue Sep 10, 2020 · 9 comments
Closed

Add option to disable shutdown hotkeys #447

LudiusMaximus opened this issue Sep 10, 2020 · 9 comments
Assignees
Labels
Enhancement/Feature Request An Enhancement/Feature request by the community low priority Low priority but desired fix

Comments

@LudiusMaximus
Copy link

Is your feature request related to a problem? Please describe.
I'm always frustrated when I want to use the search box, but accidentally my mouse cursor comes to rest over the "Shut down" entry, which then extends automatically. Because when I then type an "r" into the search box, my system automatically restarts immediately.

Describe the solution you'd like
The best thing would be an option to disable the "r" hotkey and all other shutdown hotkeys ("l" for log off, etc...).

Describe alternatives you've considered
Otherwise, I would at least like a prompt so that I can deny the restart.

@LudiusMaximus LudiusMaximus added the Enhancement/Feature Request An Enhancement/Feature request by the community label Sep 10, 2020
@ge0rdi
Copy link
Member

ge0rdi commented Sep 10, 2020

I'd suggest to disable automatic sub-menu opening via:
Open-Shell settings -> General Behavior -> Menu delay (set big number there).

In fact I'd rather disable that automatic opening by default.
I don't quite get what it is good for when one can simply click mouse button (no need to wait till sub-menu is opened).

@LudiusMaximus
Copy link
Author

I kind of like the automatic openning (I have set it to relatively fast 200) for the menu folders. If I could just disable it for the Shutdown button, it would be fine, too.

@ge0rdi
Copy link
Member

ge0rdi commented Sep 10, 2020

If I could just disable it for the Shutdown button, it would be fine, too.

That's not possible currently.

For now I'd just recommend a workaround:
Use keyboard when opening Start menu to do search. You need to type via keyboard to search, so it makes also sense to open menu using Win key.
And then there will be no problem with accidental sub-menu opening.

@ge0rdi
Copy link
Member

ge0rdi commented Sep 10, 2020

Related to #407 .

@LudiusMaximus
Copy link
Author

All right, using the Windows-Key to be on the safe side is in fact a good idea. Thanks!

@ge0rdi ge0rdi added the low priority Low priority but desired fix label Sep 10, 2020
@danielmmmm
Copy link

Thanks for pointing out the Windows-Key.

I noticed that hot-keys only activate after typing any character while the mouse cursor is hovering over a menu. When the mouse cursor rests on single items, typing does not activate hot-keys and only the search box receives input.
My workaround is having all shutdown items (sleep, restart, shut down) as single items above the search box, instead of the shutdown menu. The next menu in my setup is the settings menu. Since it is four items away from the search box, I am less likely to place the mouse cursor there by accident.

I too would appreciate the possibility to disable hot-keys ... some time in the future :-)

@eddiekk
Copy link

eddiekk commented Jun 4, 2021

+1 for this. So annoying when the computer decides to restart on its own when searching for something

@AidanConnelly
Copy link

Is there an option to disable all hotkeys?

ge0rdi added a commit that referenced this issue Dec 21, 2022
It will completely disable use of keyboard accelerators in start menu.

This can be helpful for people that tend to hit some accelerator by mistake.

Fixes #447
ge0rdi added a commit that referenced this issue Dec 21, 2022
It will completely disable use of keyboard accelerators in start menu.

This can be helpful for people that tend to hit some accelerator by mistake.

Fixes #447
ge0rdi added a commit that referenced this issue Dec 23, 2022
It will control whether keyboard accelerators are used in start menu.

Disabling it can be helpful for people that tend to hit some accelerator by mistake.

Fixes #447
ge0rdi added a commit that referenced this issue Dec 23, 2022
It will control whether keyboard accelerators are used in start menu.

Disabling it can be helpful for people that tend to hit some accelerator by mistake.

Fixes #447
ge0rdi added a commit that referenced this issue Dec 24, 2022
It will control whether keyboard accelerators are used in start menu.

Disabling it can be helpful for people that tend to hit some accelerator by mistake.

Fixes #447
ge0rdi added a commit that referenced this issue Dec 25, 2022
It will control whether keyboard accelerators are used in start menu.

Disabling it can be helpful for people that tend to hit some accelerator by mistake.

Fixes #447
ge0rdi added a commit that referenced this issue Dec 27, 2022
It will control whether keyboard accelerators are used in start menu.

Disabling it can be helpful for people that tend to hit some accelerator by mistake.

Fixes #447
@ge0rdi ge0rdi self-assigned this Dec 27, 2022
@ge0rdi ge0rdi closed this as completed in a7b6a80 Dec 28, 2022
@ge0rdi
Copy link
Member

ge0rdi commented Dec 28, 2022

In latest build it is possible to configure accelerators to trigger only when Alt is pressed (Require Alt key for accelerators setting) or disable keyboard accelerators completely (Enable accelerators setting).

No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
Enhancement/Feature Request An Enhancement/Feature request by the community low priority Low priority but desired fix
Projects
None yet
Development

No branches or pull requests

5 participants