Skip to main content
am8254
Participating Frequently
August 2, 2019
Question

RH2019, Browser based Help Popup closes in Chrome/Firefox.

  • August 2, 2019
  • 2 replies
  • 416 views

Hello,

Adding more info to this Re: RH2019, Browser based Help Popup closes in Chrome.

It seems there in a bug in Robo help. I reproduced this bug using simple HTML/JavaScript. Every time on click of other link, popup help window is closes in Chrome.

Following are the steps to reproduce;

  1. See the code for testRoboHelp.jsp and other.html
  2. Go to testRoboHelp.jsp.
  3. Click link "Robo Help" , a popup Help window is open.
  4. Click link "Other" .  Help window is closed, user is navigated to other page.

testRoboHelp.jsp

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"

pageEncoding="ISO-8859-1"

%>

<!DOCTYPE html>

<html>

<head>

<meta charset="ISO-8859-1">

<title>Test RoboHelp</title>

<script type="text/javascript" src="js/RoboHelp_CSH.js"></SCRIPT>

</head>

<body>

<div>

  <a href="#" onclick="clickHelp()"> Robo Help</a>

</div>

<div>

  <a href="javascript:void(0)" onclick="clickOther()"> Other </a>

</div>

<script>

    function clickHelp() {

      var robohelpLocation = 'help/help.htm';       

      var HH_DISPLAY_TOC = 1;

      var helpCommand = HH_DISPLAY_TOC;   

      var hParent = 0;                                                     // Reserved - Use 0

      var strHelpPath  = robohelpLocation;          // Path to help system start page

      var strCategory = false;                                     // Content Category defined in AIR SSL Dialog

      var strWnd = '';                                                    // Name of custom window

      var uCommand = helpCommand;                             // Command to display help

      var nMapId = 0 ;                                                     // Map ID associated with the topic to open (if using HH_HELP_CONTEXT), otherwise 0   

      RH_Show_BrowserBasedHelp(hParent, strHelpPath, strCategory,strWnd, uCommand, nMapId) ;

    }

   

    function clickOther(){

      location.href = "other.html";

    }

  </script>

</body>

</html>

other.html

<!DOCTYPE html>

<html>

<head>

<meta charset="ISO-8859-1">

<title>Other Page</title>

</head>

<body>

  Other page

</body>

</html>

Please let us know is there any fix/workaround, so that the popup remains open in chrome even if we move to a different parent page.

Thank you,

This topic has been closed for replies.

2 replies

am8254
am8254Author
Participating Frequently
August 5, 2019

Hello peter,

Yes, I would refer to the other thread. I have removed same information from other thread.

Any resolution on how to fix the issue or any workaround ?

Peter Grainge
Community Expert
Community Expert
August 5, 2019

Is it not the same issue though?

To the best of my knowledge what you are describing is the way it has always been unless you tell me otherwise.

Not sure but isn't the case with any web page, popups close when you go to another page?

Bottom line though is I think you would need to check with Adobe Support as to whether they think it is both the correct behaviour in RoboHelp and normal browser behaviour.

Sorry but I can't help with code.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
am8254
am8254Author
Participating Frequently
August 5, 2019

Hello,

No, The default browser behavior does not close the popup window If navigated to other page.

Additionally, Robo Help window does not close in Internet Explorer or Safari. It closes in Chrome/Firefox. This wasn't an issue in previous version of Robo Help, though the help window was opening in a new tab instead of new window.

Also, If the expected behavior from the help window is to close itself as user navigates to other pages in the application. It defeats the purpose of the Help window.

RoboHelp

Any fixes / workarounds ?

Peter Grainge
Community Expert
Community Expert
August 2, 2019

You seem to have created this thread and posted the same information in another thread. Is this post needed?


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.