While working on SWITCHYARD-1165, I discovered that the behavior of the Enter key has changed slightly in Juno. There seems to be a default listener somewhere that captures an Enter key event and automatically triggers the selection event on the first control in the shell/composite. For example, if you type a value into a field on the Bindings property page for the selected binding and hit Enter, it commits the change you want and then triggers the selection event of the Remove button, effectively removing the binding you just updated.
I've devised a hack to get us around this problem on the Bindings property sheet (included with SWITCHYARD-1165), but hitting enter on other property sheets and elsewhere in Eclipse also shows this odd behavior. Some places it's fine (like on the Transformers property page where hitting Enter will add a new Transformer), but in cases like the Bindings property page, obviously that's not what we want.
If we run into other issues while testing, please add this to 0.7 as well.
The hack is just that - a hack. But I haven't seen any changes on the forum post I put up about this unintended behavior - http://www.eclipse.org/forums/index.php/t/440691/
|