Product Version: Sun ONE Studio 5 Standard
Edition (Build 030904)
IDE Versioning: IDE/1 spec=3.42.2 impl=030904
Operating System: SunOs version 5.8 running on sparc
- push "Tools->Options" from main menu
- right click on the System|Modules node
- wait for the popup
- push the Down arrow key
The Object Types node is selected instead of the
next menu item
- push Add/Module... menu item
The exception comes out
Created attachment 11943 [details]
The same in NB dev build. First problem is that focus is probably
stealed by TreeTableView after popup menu is displayed. The same on
other nodes in OptionsPanel. Further problems are consequence of this
I think. I will investigate what happens with focus.
Evaluation: The same happens on current dev build (my fresh NB build
040121). Reason is that TreeTableView requests focus after popup menu
request ie. focus is transferred incorrectly back to Options dialog.
Assigning to explorer. I will attach log from dev build. I added log
message to java.awtComponent.requestFocusHelper.
Tree table view has separate subcomponent.
Created attachment 13001 [details]
Okay, I should be able to do *something* and backport it to
release35A. Is there a date by which that should be completed?
- First do a hotfix which simply catches the exception
- Try to figure out what's really wrong, and see if it's fixable
without high risk of introducing other bugs (most changes in TTV
are high-risk - we hope to rewrite it completely for promo-D).
If there is a fix that seems simple and safe, fix it for real,
if not, stay with the hotfix and really fix it when
we rewrite TTV.
The core problem is that TTV has lots of problems, is extremely
complex and its codebase is quite fragile - fixing one problem often
creates two others. If possible we would prefer to defer addressing
existing issues with TTV until resources are allocated to rewrite it
As agreed, this will not be solved for for 3.6 - the risk of introducing new problems is
too high. Changing target milestone to Promotion D.
Note that the tree table view rewrite is already in progress, on which this issue
Adding Arrow waiver request keyword.
proposed relnote: In Options window, sometimes nodes in the Options
tree are selected when you are trying to choose an item in a node's
Downgrading to P3 - note that the way to reproduce this bug is to use
the mouse to invoke a menu and then the keyboard to select in the
menu. Does not seem like P2 material.
*** Issue 38434 has been marked as a duplicate of this issue. ***
Fixed - the UI was written to call requestFocus() on both mouse pressed and mouse
released, so bringing up the menu set focus away from the menu. No reason for it.
Checking in src/org/openide/explorer/view/TreeTable.java;
/cvs/openide/src/org/openide/explorer/view/TreeTable.java,v <-- TreeTable.java
new revision: 1.53; previous revision: 1.52
Checking in src/org/openide/explorer/view/TreeTableView.java;
new revision: 1.64; previous revision: 1.63
Functionality is changed for NB 5.0 - closed