I have a button and a text field inside a frame that has a menu added to it's menubar. Button currently has the focus. On clicking the button, I am disabling the button as well as the text field. So as per the specification, button initiates a forward focus traversal when disabled and focus is shifted to the text field which is also disabled. Now when I press F10, it is not bringing up the menu. But pressing CTRL+SPACE triggers action event for the menu item whose shortcut is set to CTRL+SPACE. But I think F10 should also work fine in this case where it should actually bring up the menu.
This is reproducible only on XAWT with Mustang. This is not reproducible with Motif. This is not reproducible with XAWT on Tiger-FCS and menu appears perfectly. Hence it is a regression introduced in Mustang. This is working fine on Win32 as well. I reproduced it on SolarisSparc10-JDS with Mustang b55-59.
I have attached a sample test. Execute the sample test. You would see a frame with a menu, button and a text field. Click on the 'Disable' button. Button as well as the text field will be disabled. Now focus is retained by the text field. Now press 'F10'. If the menu does not come up, the bug is reproduced.