Focus difference between IDEA 5.1.2 and 6.0.1

I'm trying to use the HelpManager OpenAPI to invoke the help system from within my plugin. It works just fine under IDEA 5.1.2 but under IDEA 6.0.1 the help window pops up and then instantly gets buried as the main IDEA frame takes back the focus.

Under 6.0.1 I discovered this behavior only happens if there is 1 or more tool windows open such as the Project tool window. Again, this does not happen under 5.1.2 regardless of which tool windows are open.

Is there some trick I can use with 6.0.1 to invoke the help window such that it keeps focus? I've tried calling invokeHelp in SwingUtilities.invokeLater and several other tricks. None made any difference. Ugh.

Any help would be greatly appreciated.

Thanks,
Rick

Please sign in to leave a comment.