Apache OpenOffice (AOO) Bugzilla – Issue 16612
Popup menus claim to be focused after closing it
Last modified: 2004-01-27 17:37:44 UTC
When opening popup menus in SO role POPUP MENU gains the focus. When closing the menu it still claims that it is focused although the accessible object is beeing destroyed (at-poke shows that). Thus GOK is not able to give the focus to the previous focused (main) window.
.
To fix this issue it requires a bad hack in the java-uno-accessbridge: VCL does not really set the keyboiard focus into the popup, so there is no focus event from the prevoiusly focus object (because it never actually lost VCL focus). Seems as if the bridge needs to remember the focus object in this case and to synthesize the missing focus event.
Agreed with TZ.
Because the wrong parent is used for the popup window (#i21900), the fix works only if the popup belongs to the currently active window. But because disabled people probably won't use the mouse to bring up a popup window (but Shift F10), this restriction is not a stopper.
obr -> ru: Please verify. Thanks.
Restoring fixed state.