MacOS – what does an app do to satisfy the dock bounce

dockiconmacosx11

What does an application have to do that satisfies the dock system so it stops bouncing the app's icon?

I am writing an X11 app that runs via XQuartz. I can create an app bundle with an icon for the Desktop such that my app runs fine when I double-click it, but the icon in the dock bounces forever.

I am aware of the dock feature that allows turning off bouncing for all apps, that's not what I need.

Thanks for any info.

Best Answer

An application's icon will bounce in the macOS Dock until the application enters its main event loop and begins responding to user input.

See How do I make the dock icon stop bouncing after my app wrapper script starts?