GNOME Bugzilla – Bug 124747
no application object
Last modified: 2004-12-22 21:47:04 UTC
In the traverse of objects hierarchy for a java based application an object with role application is never reached.
Created attachment 20736 [details] [review] a simple test program
To run the test, copy it in at-spi/test directory and recompile.
The test program was not necessary as at-poke shows the problem.
Created attachment 20744 [details] [review] Proposed patch
It turned out not to be as simple as I thought. The first problem is that when navigating up the heirarchy the parent of the toplevel window was reported as NULL. The onlt time it worked if one had previously traversed fown the hierarchy from ther appliccation object. The role of the application object was being reported as UNKNOWN. I think that I have fixed all the problems.
Patch is OK.
Patch committed to CVS HEAD.