boppreh / keyboard

Hook and simulate global keyboard events on Windows and Linux.
MIT License
3.74k stars 432 forks source link

suppress=True breaks Windows Start Menu #631

Open avelican opened 5 months ago

avelican commented 5 months ago

kbd.add_hotkey('win+shift+w', handler, suppress=True) makes it so Start Menu doesn't open.

Closing the Python script allows Start Menu to open again.

See also: https://github.com/boppreh/keyboard/issues/630

jecrs commented 5 months ago

fella this is just the script capturing the keypresses

avelican commented 4 months ago

@jecrs Making a hotkey involving a key should not randomly prevent that key from working in other contexts. For example, if you make a hotkey for Ctrl+Shift+Q, would you consider it acceptable that all shortcuts that involve Ctrl on your operating system (and in all programs) become unusable?

jecrs commented 4 months ago

Its a odd behaivor but it is expected, since it is capturing the windows key