javaee / javahelp

javahelp
Other
14 stars 15 forks source link

The JavaHelp View is updated only if the current help id changes, scrolled away topics are not shown if same id is used again. #37

Open glassfishrobot opened 12 years ago

glassfishrobot commented 12 years ago

The JavaHelp View is updated only if the current help id changes, to pressing the same help button twice does not update anything even if the current topic was scrolled away by help of scrollbar. Workaround: select another topic in TOC Tree and the press the help button in the user application again.

Here is the java help code from sun DefaultHelpModel.java which may help to analyse the problem:

public void setCurrentID(ID ident, String historyName, JHelpNavigator navigator) throws InvalidHelpSetContextException{ if (ident == null)

{ ident = helpset.getHomeID(); }

if (ident == null || ident.equals(currentID))

{ // quick return if already set return; }

Environment

windows / javahelp 2.0_05

glassfishrobot commented 12 years ago

Reported by nschle85

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAVAHELP-37