O$:5.0: Macintosh OS X 10.6.2 Library Icon on Dock Behaviour

Kelly Burgess kellyb at montana.com
Sun Jan 17 03:40:51 EST 2010


Hi Jeff,

>clicking on the library dock icon stops what you are doing, closes 
>any open windows and restarts your library.

Do you have an $omnistofront() method implemented in your startup 
task?  According to the docs, on OS X the method is called twice when 
the dock icon is clicked (only once if brought to top a different 
way), and there's an extra boolean parameter to tell you if that's 
the cause (true on the second call).  If you have an $omnistofront(), 
maybe that's the source of what you're seeing.

I just tried here (with a library that doesn't have an 
$omnistofront()), and I can't replicate your problem.  Studio came to 
the top showing all the same windows that were open when I sent it 
behind.

Kelly



More information about the omnisdev-en mailing list