agzam / spacehammer

Hammerspoon config inspired by Spacemacs
MIT License
556 stars 70 forks source link

Spacehammer stops accepting alpha keypresses #164

Closed valrus closed 2 years ago

valrus commented 2 years ago

Rarely, Spacehammer will get into a state where it fails to accept most keystrokes. Here is a video of the behavior, with keystrokes falling through to the TextEdit doc I have open:

https://user-images.githubusercontent.com/343665/163287329-85ce1b81-0890-4a41-90a1-fb9a95baa686.mov

At the end I use the Space key to successfully trigger Raycast; in some apps I also have a , trigger that works. So it seems to be only alphabetical characters that are ignored.

Some notes: Reloading my config does not resolve this issue, nor does restarting Hammerspoon entirely. When I've hit it in the past, I think I had to restart. This time around, I believe this happened on wake from sleep. Here is a gist with my Hammerspoon console log when I was having this problem: https://gist.github.com/valrus/72c7d90cf3e347a1e0eb294dc82e893d And here is my Spacehammer config: https://github.com/valrus/dotfiles/tree/master/spacehammer

valrus commented 2 years ago

Update / possible workaround? — this resolved itself after my computer went to sleep and I woke it the next morning.

valrus commented 2 years ago

Between the fact that this resolved itself and the fact that I was still on the new-fsm branch of spacehammer, I'm going to close this. I'll open a new ticket if it comes up again.