GNOME Bugzilla – Bug 119693
AccessibleActiveDescendantChangedEvent_getActiveDescendant doesn't work
Last modified: 2004-12-22 21:47:04 UTC
In case of event "object:active-descendant", when AccessibleActiveDescendantChangedEvent_getActiveDescendant is called, always a NULL pointer is obtained. Apps to reproduce: SwingSet2 JTreeDemo page-tab or StarOfice Tools/Options (tree in left side of dialog).
I can reproduce this problem. First I would like to clarify what the name of the event should be. GTK applications emit the event "object:active-descendant-changed". I assume that that is what the name should be and the code in at-spi/tests/event-listener-test.c which listens for "object:active-descendant" is wrong.
Seems that JAB emits "object:active-descendant", not "object:active-descendant-changed". For test I used a proper file. So, even the event name is wrong in JAB.
Created attachment 19181 [details] [review] Proposed patch
Patch is fine. Please apply.
Patch committed to CVS HEAD.