@siracusa your Hyperspace app has an animation that I am trying to recreate in my SwiftUI project but I am failing. When opening the settings in Hyperspace there simply a short bounce. How to get the bounce? Is it an Appkit thing? Apple's preview app has it as well, Safari does not. https://youtu.be/DxpHKVbb9Vc
@nelissen Hyperspace is a SwiftUI app. I'm getting the connection between the Settings menu command and the appearance of the Settings window "for free" as part of the SwiftUI app lifecycle. The relevant setup code is just this:

@siracusa 2 cups of coffee and I think I figured it out. I thought I did exactly the same thing so I created an empty project and got to work.

When you are in an App and open a window and the size of that new window has a width and height with even numbers, lets say 340 by 420, there is no ‘pulse’ animation.
When the size of the window has an odd size (341 by 421) there is a ‘pulse’ animation.
The animation is in the direction of the odd number.

https://youtube.com/shorts/xGh7Mqp7Hy4
https://gist.github.com/bglnelissen/d5cb43cbed614e69a28780895096a129

@nelissen Seems like a bug…
@siracusa @nelissen Seems like a feature!! Questionable API design and discoverability, but this feels like it has to be deliberate.

@nelissen @siracusa This is ridiculous. Thank you for figuring this out. I guess I'm changing mine to odd numbers.

Now if anyone can figure out a way to animate the transition between app settings tabs in SwiftUI, I would be eternally grateful… I've wasted so much time on that and gotten nowhere.