Since version 2.0 M2 a right click on a tree with context menu does not select the node your clicked on. So the context menu is operating on the previous selcted node. The problem is reproducable with the contextmenu tree sample (Ext GWT 2.0-m2 Explorer demo). Is it a bug or is it possible to retrieve the selected node (with right click) otherwise than with tree.getSelectionModel().getSelectedItem()?
just running into the same issue. I like the new behavior that the right click doesn't set the selection to the node that was clicked, but there have to be a way to get that right-clicked node. Any updates on that?