Skip to content
New issue

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

By clicking “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? Sign in to your account

Window bindings stopped working after updating Hammerspoon to 0.9.81 #72

Closed
aantipov opened this issue Sep 30, 2020 · 3 comments · Fixed by #73
Closed

Window bindings stopped working after updating Hammerspoon to 0.9.81 #72

aantipov opened this issue Sep 30, 2020 · 3 comments · Fixed by #73

Comments

@aantipov
Copy link

Problem

I'm a mac user macOS Catalina 10.15.7
After updating Hammerspoon to 0.9.81 almost all my window bindings stopped working. The only working that I see is { {}, 'space', 'centerWithFullHeight' }

I checked Hammerspoon's console and it says the following:

2020-09-30 07:02:57: 07:02:57 ERROR:   LuaSkin: hs.hotkey callback: /Users/alexey/.hammerspoon/keyboard/windows.lua:261: attempt to call a nil value (field '?')
stack traceback:
	/Users/alexey/.hammerspoon/keyboard/windows.lua:261: in upvalue 'fn'
	/Users/alexey/.hammerspoon/keyboard/windows.lua:217: in function </Users/alexey/.hammerspoon/keyboard/windows.lua:215>
2020-09-30 07:02:58: 07:02:58     hotkey: Disabled hotkey F16
2020-09-30 07:02:58:              hotkey: Disabled previous hotkey ⌥W
2020-09-30 07:02:58:              hotkey: Re-enabled previous hotkey ⌥W
2020-09-30 07:02:58:              hotkey: Enabled hotkey F16
2020-09-30 07:02:58: 07:02:58 ERROR:   LuaSkin: hs.hotkey callback: /Users/alexey/.hammerspoon/keyboard/windows.lua:261: attempt to call a nil value (field '?')
stack traceback:
	/Users/alexey/.hammerspoon/keyboard/windows.lua:261: in upvalue 'fn'
	/Users/alexey/.hammerspoon/keyboard/windows.lua:217: in function </Users/alexey/.hammerspoon/keyboard/windows.lua:215>
2020-09-30 07:03:03: 07:03:03     hotkey: Disabled hotkey ⌃U
2020-09-30 07:03:08: 07:03:08     hotkey: Enabled hotkey ⌃U

What could be the problem?

@jasonrudolph
Copy link
Owner

👋 @aantipov: It looks like Hammerspoon is seeing a fairly rapid rate of changes related to window management right now, with the release of 0.9.79, 0.9.80, and 0.9.81 all within the last week or so. (Hammerspoon/hammerspoon@0.9.78...0.9.81)

I'll probably wait for that rate of change to calm down before digging into this. In the meantime, I've been using Hammerspoon 0.9.78, which you can download at https://github.com/Hammerspoon/hammerspoon/releases/tag/0.9.78. Admittedly, I'd prefer to always be using the latest version of Hammerspoon, but hopefully this helps in the meantime.

@aantipov
Copy link
Author

@jasonrudolph fair enough 👍 Thanks for the quick answer! I installed the 0.9.78 version and it works now

@fabiomcosta
Copy link

Yep, starting at 0.9.79 they made some changes that broke multiple things, 0.9.81 fixed some of them, but not all.
I'd report this issue there if you didn't yet, that should help accelerate a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants