https://issues.apache.org/ooo/show_bug.cgi?id=122271

--- Comment #10 from Andre <[email protected]> ---
I have found the root cause for the missing focus events.  At least on Windows. 

In our supporting code of the Java access bridge (under
main/accessibility/bridge/) there is an implementation of the
javax.accessibility.AccessibleComponent interface.  The return value of its
isFocusTraversable() method controls whether a control can accept the focus or
not.  The implementation of this method returns true when the state set has
flag FOCUSABLE set.  This is not the case for the title bars in the sidebar. 
Therefore they never get the accessibility focus, even though they have the
regular input focus.

I have experimentally set the FOCUSABLE flag for all objects (that use the
default implementation in toolkit/awt/) and the sidebar TitleBar objects
generate accessibility events.

Remains to find out how to set this flag in a proper way only for the TitleBar
objects.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to