Clicking Dock Icon Goes Home
Hi,
We have an Air Help (Locally installed) application that we launch from our C++ application to show contextual help.
This Air Help application seems to have a bug in MacOS where, once it's launched and you're viewing a specific page, if you click its dock icon, it goes to the "home" page. I believe this is also causing a problem where, if we attempt to show contextual help when the help is already launched, it only goes to the home page.
I searched all over for any mention of this issue without luck. It seems there isn't a lot of discussion about using RoboHelp to package AIR help on MacOS. We also use this on Windows and it works fine.
The call on Mac to launch the help is using LSOpenApplication. I found that if I pass the "kLSLaunchNewInstance" flag, we at least get a new instance of our help application that takes the user to the requested page. However, it feels like a hackish way to fix the problem -- and even still if you click the dock icon, you lose your page and it goes to the "home" page.
Anyone else see or able to work around this behavior?
Is there a sample Robohelp+Air local application available somewhere that I could grab and confirm whether this bug is maybe something nonstandard that we're doing that we could correct, or if it's common to other airhelp applications?
I have to admit, I'm an engineer, not a help author, so I'm no expert in the process of generating this help application or even the roles of the tools we use. But from what I saw there weren't many options to mess with. It feels like we need to handle the "UserClickedDockIcon" or maybe "AppRelaunched" event, and make it not do "GoToHomePage()", or something. I made those up of course, but just to illustrate what it seems to be doing.
Thanks in advance for any help.
Tim Ardoin
