hammerspoon: `hs.window.animationDuration` regression?

  • hs 0.9.93 (6148)
  • macOS 12.1
  • M1 MacMini

All of a sudden my window moves are not honoring the hs.window.animationDuration = 0.05 that I’ve been using for ages. Nothing has changed in my configs. The setFrame animation is taking roughly ~1s.

I’ve rebooted, and also tried disabling/re-enabling Accessibility permissions. Not sure what happened… anything I can check or try?

Thanks

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 18 (12 by maintainers)

Most upvoted comments

@jameslittle230 and @cmsj Happy new year! 🎉

I think I may have found the root cause (and a temporary workaround) for the slow window animations. It seems to be related to the following setting from Accessibility → Zoom → Advanced → Follow Focus → Follow keyboard focus.

On my system, anything except Never results in the animations slowing down:

You can try disabling that via the GUI or using this Terminal command:

defaults write com.apple.universalaccess closeViewZoomFocusFollowModeKey -int 0

N.B. you must log out and back in for that change to take effect.

Please give it try & let me know if your animations are snappy again.

@cmsj Curious if you have any thoughts on this one? Should I file a bug with Apple or do you think this is somehow fixable in HS?