Is this a known bug and is there any workaround?
http://code.google.com/p/google-web-toolkit/issues/detail?id=1197
Looking at the source for PopupPanel.java, the problem is that the
event preview is only allowing the keyboard events to pass through if
the target of the event is the popup or one of its children. Since
the focus of the keyboard is outside of the popup in the Mail
application, it doesn't receive any events. I did get the Escape and
Enter key to work by focusing the Close button of the About box (I did
this by clicking down on the button, then dragging the mouse away from
the button, so that the mouse down event focuses the button). If you
could, you should try to grap the keyboard focus into the popup to
regain event previews.
HTH,
-krispy
public boolean onEventPreview(Event event) {
if (DOM.eventGetType(event) == Event.ONKEYDOWN) {
return onKeyDownPreview((char) DOM.eventGetKeyCode(event),
KeyboardListenerCollection.getKeyboardModifiers(event));
}
return super.onEventPreview(event);
}