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.
Seen on Windows XP with EP Gavotte 070220_4 and JDK 1.5.0_10: 1. Open a valid WSDL document. 2. Open or create a partnerlinktype, add an operation and double-click the message name to activate editor for the operation name (or just double-click the message name for an existing operation). 3. Click the WSDL editor toolbar button Show/Hide Partner Link Types. ==> The editor is still displayed. See attached screenshot. Also: 2. Double-click the Operation or Partner Link Type name to activate the renaming editor field. 3. Click the WSDL editor toolbar button Show/Hide Partner Link Types. => The editor field closes/deactivates, but the PLT container is still displayed.
Created attachment 38819 [details] Screen showing message name editor field
For first problem, This is a problem with inplace editor not getting closed. I have a solution for this. Ideally this should be taken care by graph lib when a widget is removed. Something like if a widget has inplace editor action and when it is removed from parent make sure to stop editing and remove the editor. This will be fixed shortly. override notifyRemoved of a widget and close any in place editor. Second problem is not happening in debug, still investigating.
The first observation I added fixed the problem but may not be right solution. The combobox in place editor for message was missing focus lost listener. After adding that, first problem is fixed but it also now exhibits second problem. The second problem is something which is probably needs to be fixed in graph lib. The problems seems to be with parent widget of in place editor requesting focus: From InplaceEditorAction public final void closeEditor (boolean commit) { line 145 parent.requestFocus (); So when user starts editing and then click on the toolbar button, focus lost event occurs on inplace editor, then above closeEditor calls parent.requestFocus (), so the focus shifts to parent widget and the toolbar buttons action is not getting invoked. Other thing to note is that if I make the SceneComponent not focusable scene.getView().setFocusable(false); then this problem does not occur.
The part #2 has been resolved by removing "parent.requestFocus ();" line from the InplaceEditorAction.closeEditor method. The change is committed into the "graph" module in the "release551" branch and the main trunk.
This is now fixed.
Verified on Windows XP with Gavotte 070306_14 and JDK 1.5.0_10.
Verified for original scenarios, but see also related issue 97439 and 97440.