I'm writing an app that makes use of a drawer on the Mac (it's a normal dock widget everywhere else). But I'm encountering some strange behavior, and wondered if other people have experience with Mac drawers, and might have some advice for me. The couple of paragraphs in the recent QQ is woefully scant.

As near as I can tell, the drawer isn't in the visible state (isVisible()) until after it has completed its animation. Which is about a half second after the main window is shown. A side effect of this, is that when I show() the drawer it ends up not being shown. Hiding a drawer works correctly. After it is initially animated open, show() and hide() work as expected. Is this normal behavior?

Also, is there any way to know when the drawer has finished animating open (or closed)? Is there a Mac event I can watch for?

Any juicy gossip on how drawers work would be appreciated. Thanks.