boppreh / keyboard

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

suppress=True breaks shift-click selection in Notepad, Explorer #630

Open avelican opened 5 months ago

avelican commented 5 months ago
kbd.add_hotkey('win+shift+w', handler, suppress=True)

makes it so I can't shift-click to select text between current cursor and click position. Tested in Notepad.exe and Sublime Text.

EDIT: The same issue appears in Explorer.exe (shift-click to select folders fails with the code above)

Note: While holding shift, the first click fails, the second succeeds...

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

richiehowelll commented 2 weeks ago

@avelican yup, this issue is really annoying. Did you find a workaround?