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 37179 - Project Manager Does Wierd Things With Help Window.
Summary: Project Manager Does Wierd Things With Help Window.
Status: CLOSED DUPLICATE of bug 29448
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on: 29448
Blocks:
  Show dependency tree
 
Reported: 2003-11-12 23:44 UTC by Chris Kutler
Modified: 2008-12-23 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (173.14 KB, text/plain)
2004-01-20 16:37 UTC, Chris Kutler
Details
log file (173.14 KB, text/plain)
2004-01-20 16:41 UTC, Chris Kutler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Kutler 2003-11-12 23:44:22 UTC
If I open the project manager and help is not open
or if help is opened but minimized, then things
work nicely. However in the following situations,
wierd things happen:

1. Help window is open and in front of the main
window where it is not obscuring the work at hand.
Clicking Project in the main menu makes the Help
window disappear behind the main window. Clicking
Project Manager in the Project menu raises the
Project Manager window and brings the Help window
to the front again. However it brings it up in a
place that obscures the work at hand. I am not
sure why it is doing this as it is not displaying
help related to the project manager (although
there is such a topic). When I close the Project
Manager, it resizes my Help window, and I have to
resize it back to the way I want it.

2. Help is open but minimized. I open Project
Manager and click Help. Help opens with the
desired help topics. When I close the Project
Manager, the Help is closed. This is unfortunate
because this help had a bunch of links to topics
about using projects. I have to re-open help and
use search to try and find the topic that the
Project Manager Help button had opened. The Help
search returned 35 entries that I have to search
through to try and find the page that the Project
Manager had brought up.
Comment 1 _ tboudreau 2003-11-13 11:49:00 UTC
There are a host of known issues with regard to the help window's behavior.  
More or less there are a large number of hacks to allow the help window to 
remain enabled when a modal dialog is opened - the help component must 
be reparented to a child dialog of any new modal dialog that is opened. 
 
As you can imagine, this has some fairly unfortunate consequences, and 
there are a number of related open issues (see issue 29448 and its 
dependency tree). 
 
The underlying problem is that AWT windows do not permit limited modality 
- what we'd really like to do is just specify that the help window should 
remain enabled even in the case of modal dialogs.  But there's pretty much 
no way to work around it that doesn't create as many problems as they are 
now.  For what its worth, the options that have been considered are: 
 - Run help in a browser (JavaHelp 2.0 *may* support this; there are 
accessibility issues, etc.) 
 - Run help in a separate JVM (likely to have interprocess communication 
problems and NB's memory footprint is big enough as it is) 
 - Fake modality by never using real modal dialogs, but having our own 
code make windows pretend to be disabled (a road to truly unique disaster 
there) 
Comment 2 Chris Kutler 2004-01-20 16:37:44 UTC
Created attachment 12976 [details]
log file
Comment 3 Chris Kutler 2004-01-20 16:38:49 UTC
Attachment of log file was a mistake. Please ignore.
Comment 4 Chris Kutler 2004-01-20 16:41:04 UTC
Created attachment 12977 [details]
log file
Comment 5 _ tboudreau 2004-04-19 14:05:59 UTC
Reassigning to Marek, new owner of output window and help system
Comment 6 _ ttran 2005-01-04 23:47:05 UTC
fixed for jdk 1.5.0_03/_04 and later
Comment 7 mslama 2005-01-07 12:06:36 UTC

*** This issue has been marked as a duplicate of 29448 ***
Comment 8 Marian Mirilovic 2005-07-14 08:24:17 UTC
verified in NB.dev(200507131800) / closing ...
Comment 9 Quality Engineering 2008-12-23 14:24:09 UTC
This issue had *1 votes* before move to platform component