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.
Both second-click and F2 switches to editing mode, but finishes editing immediatelly and loses focus. Most probably caused by dafe's fix of ctrl-tab traversal problem.
It doesn't lookto be caused by ctrl+tab. I disabled ctrl+tab grabbing in ShortcutAndKeyEventProcessor and bug was still there. I also tried to find out if some hostile focus events are not coming in the way, but I didn't find anything. You'll probably have to patch Swing's inplace editor code to find out what's going on :-(
I've tried to find out focus ;) Before F2 *** ShortcutAndMenuKeyEventProcessor: current focus owner = org.openide.explorer.view.TreeView$ExplorerTree[,0,0,355x727,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=true,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=18,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=0,visibleRowCount=20] After F2 *** ShortcutAndMenuKeyEventProcessor: current focus owner = null
I can reproduce under Windows.
*** Issue 47050 has been marked as a duplicate of this issue. ***
It might be winsys anyway. Couldn't it? So back to Milos Thanks
fixed in trunk.
Works OK now.
Milos, it will be nice to have this issue fixed for Beta1, so please merge fix into QBE200408101800 branch too. Thanks a lot ;)
done. merdged to beta1 branch.