After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 124747 - no application object
no application object
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: javabridge
0.0.1
Other Linux
: Normal normal
: ---
Assigned To: padraig.obriain
padraig.obriain
Depends on:
Blocks: 124108
 
 
Reported: 2003-10-16 07:20 UTC by remus draica
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a simple test program (46.57 KB, patch)
2003-10-16 07:51 UTC, remus draica
none Details | Review
Proposed patch (2.75 KB, patch)
2003-10-16 12:31 UTC, padraig.obriain
none Details | Review

Description remus draica 2003-10-16 07:20:10 UTC
In the traverse of objects hierarchy for a java based application an object
with role application is never reached.
Comment 1 remus draica 2003-10-16 07:51:10 UTC
Created attachment 20736 [details] [review]
a simple test program
Comment 2 remus draica 2003-10-16 07:52:17 UTC
To run the test, copy it in at-spi/test directory and recompile.
Comment 3 padraig.obriain 2003-10-16 09:31:44 UTC
The test program was not necessary as at-poke shows the problem.
Comment 4 padraig.obriain 2003-10-16 12:31:05 UTC
Created attachment 20744 [details] [review]
Proposed patch
Comment 5 padraig.obriain 2003-10-16 12:33:31 UTC
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.
Comment 6 remus draica 2003-10-17 05:58:10 UTC
Patch is OK. 
Comment 7 padraig.obriain 2003-10-20 08:26:40 UTC
Patch committed to CVS HEAD.