You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that hs.spaces.removeSpace doesn't work for me, some details:
macOS 14.5
Hammerspoon 0.9.100
Here's an easy way to reproduce the error:
-- this is run directly in the hammerspoon console (ensure you have more than one space):>for_, spacesinpairs(hs.spaces.allSpaces()) dohs.spaces.gotoSpace(spaces[1])
hs.spaces.removeSpace(spaces[2])
end-- ...merspoon.app/Contents/Resources/extensions/hs/spaces.lua:882: attempt to index a nil value (local 'child')-- stack traceback:-- ...merspoon.app/Contents/Resources/extensions/hs/spaces.lua:882: in function 'hs.spaces.removeSpace'-- [string "for _, spaces in pairs(hs.spaces.allSpaces())..."]:3: in main chunk-- [C]: in function 'xpcall'-- ...poon.app/Contents/Resources/extensions/hs/_coresetup.lua:525: in function <...poon.app/Contents/Resources/extensions/hs/_coresetup.lua:505>
I've tried increasing hs.spaces.MCwaitTime, but I have a sneaking suspicion that this has something to do with #3636, perhaps something was changed in macOS 14.5?
FWIW, I've also checked out and built #3638, and the issue also occurs with that version, too. 😢
The text was updated successfully, but these errors were encountered:
Also experiencing the same issue after upgrading to latest MacOS. Scripts did not change, hammerspoon version same as before. Something must have changed in MacOS itself.
I've noticed that
hs.spaces.removeSpace
doesn't work for me, some details:14.5
0.9.100
Here's an easy way to reproduce the error:
I've tried increasing
hs.spaces.MCwaitTime
, but I have a sneaking suspicion that this has something to do with #3636, perhaps something was changed in macOS14.5
?FWIW, I've also checked out and built #3638, and the issue also occurs with that version, too. 😢
The text was updated successfully, but these errors were encountered: