This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 31470 - JavaHelp is dismissed when dismissing other dialogs
Summary: JavaHelp is dismissed when dismissing other dialogs
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: _ tboudreau
Depends on:
Blocks: 29448
  Show dependency tree
Reported: 2003-02-26 03:31 UTC by John Baker
Modified: 2008-12-23 11:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2003-02-26 03:31:45 UTC
Using Studio kit 030224 on Windows 2000

To reproduce:

1) Open a Help Set, say JSP/Servlet
2) Move the Help dialog to the side and open a dialog,
such as Mount Local Directory
3) Cancel this wizard dialog

Result- Help is dismissed.
Comment 1 Marian Mirilovic 2003-02-26 13:08:01 UTC
I cannot reproduce it on [s1s5](030225_1), [jdk1.4.2](b16), Sol 5.8/
Comment 2 _ tboudreau 2003-02-26 15:07:43 UTC
I can't reproduce it either.  The help dialog is reparented to a 
new window when it is closed (the only way to work around modal
dialogs disabling the help window until our JDK enhancement
request re this is fulfilled).  It is not closed.
Comment 3 Jesse Glick 2003-02-26 17:54:56 UTC
Can't reproduce either - Linux, Gnome, JDK 1.4.1, dev feb 25.
Comment 4 John Baker 2003-02-26 18:27:44 UTC
This is Windows 2000 as bug mentions.
JDK 1.4.0_03
Comment 5 Marian Mirilovic 2003-02-26 18:36:47 UTC
I am sorry, but I've tried it on [nb_dev](20030226) Windows 2000,
[jdk1.4.0](01) and I still cannot reproduce it.
Comment 6 Jesse Glick 2003-02-26 18:37:27 UTC
Can you try on JDK 1.4.1 please?
Comment 7 John Baker 2003-02-26 20:19:06 UTC
I reproduced this using a different Win XP, JDK 1.4.1 b21 .
I'll try on another machine.

Comment 8 _ tboudreau 2003-02-27 02:04:53 UTC
Adding this issue to the help window z-order/positioning umbrella

The bottom line is that the current help window management code is
a mass of hacks to work around the fact that the help window may
be disabled when a modal dialog is opened.  The help component
is reparented into new dialogs that are owned by the newly opened
modal dialog whenever a modal dialog is opened, to keep them from
being disabled because a modal dialog was opened.  This causes
extensive problems, including fronting and repositioning the 
help window and pathological cases where a dialog now owns the
help window, and so closes it when it is closed.

There is no way to fix any of these issues without the JDK providing
some way to exempt specific windows from being disabled by a 
modal dialog.  There is an existing bug parade issue with many votes
at last count to fix this behavior in the JDK, and we have 
escalated this issue internally.  Without improvements from the
JDK this issue and others are unfixable.  Probably won't happen
for 1.4.2, but conceivable for 1.5.
Comment 9 John Baker 2003-02-27 02:16:23 UTC
After rebooting and starting the IDE, I can't reproduce this.
I'll close this issue for now. If there's a reproducible set of steps
then I'll open a new issue.