koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
6.05k stars 204 forks source link

skhd getting keypres after other apps #345

Closed PavelSlepushkin closed 4 months ago

PavelSlepushkin commented 5 months ago

I've installed and configured skhd, running it from regular user (skhd --start-service) I've configured shortcut for cmd + p (which is default shortcut for print in chrome/mozilla). Shortcut works when my active window is not chrome or mozilla (e.g alacritty, no active window) But in mozilla/ff - it opens print dialog, so they are getting this keypress. Is it expected and I should choose shortcuts that do not conflict with existing ones?

PavelSlepushkin commented 5 months ago

I've figured out additional detail. This happens when control for entering password is active. I can reproduce it on site login pages. If username control is active - skhd works as expected. Feel free to close it, if you think it's irrelevant/not reproducible.

PavelSlepushkin commented 4 months ago

this is macOS behaviour for secret(password) fields, i guess no way around it, closing this