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 119852 - inconsistency between java and gtk based apps
inconsistency between java and gtk based apps
Status: RESOLVED DUPLICATE of bug 109402
Product: at-spi
Classification: Platform
Component: general
0.0.1
Other Linux
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks: 117576
 
 
Reported: 2003-08-14 06:33 UTC by remus draica
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description remus draica 2003-08-14 06:33:02 UTC
In case of trees with expandable items, in case that an item is expanded or
collapsed an "object:state-changed:expanded" is fired.

In case of gtk apps, this event is fired for the table-cell
(gedit/Edit/Preferences dialog, the tree in left side) and in case of Java
apps this event is fired for the table (SwingSet2/JTreeDemo page-tab).

I think that should be only one solution here: event should be fired by the
parent and the call of AccessibleChildChangedEvent_getChildAccessible ()
should return the poiter to the object which caused this event. This
behaviour should be implemented only for the objects which has state
MANAGE_DESCENDANTS.
Comment 1 padraig.obriain 2003-08-14 09:03:44 UTC
A Java bug 4670319 was logged on this issue by Peter Korn. The bug was
marked as fixed last November. I need to determine what version of
Java the bug is fixed in.

The fix was to emit the event with the source being the
AccessibleJTreeNode, i.e. the behavior should be similar to GTK.
Comment 2 padraig.obriain 2003-08-18 13:41:51 UTC

*** This bug has been marked as a duplicate of 109402 ***
Comment 3 bill.haneman 2003-08-18 15:35:48 UTC
also - remus, please note that your suggestion would not quite be
correct since the AccessibleChildChangedEvent_getChildAccessible call
can only be made on an event of type object:child-changed, not on a
state-changed:expanded event.