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 319675 - default.py: AT-SPI spec child ID uniquesness problem.
default.py: AT-SPI spec child ID uniquesness problem.
Status: RESOLVED DUPLICATE of bug 347691
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-24 21:22 UTC by Rich Burridge
Modified: 2006-09-06 20:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rich Burridge 2005-10-24 21:22:31 UTC
src/orca/a11y.py:__init__: the AT-SPI spec is ambiguous about the
behavior of a child of a parent that manages descendants.  Need to
determine if we should be getting unique IDs for the same object
or if they can actually change.  This also is handled in
src/orca/default.py:locusOfFocusChanged.
Comment 1 Willie Walker 2006-07-25 23:37:44 UTC
We followed up with the AT-SPI maintainers.  We aren't guaranteed to get the same accessible object for the same child of an object that manages its descendants.  We need to work up a better way to determine the identity/sameness/uniqueness of these kinds of children.  

The current approach is to compare the parent, the index in parent, and the accessible name.  If they are all the same, we say the children are the same.  This breaks in things like file viewers viewing multiple levels of directories where each directory only has one entry.  The way this is done is that the list (the parent that manages its descendants) showing the contents of the directory is reused.  Thus, the parent remains the same (it is the list), the index of the child remains the same even if it is a different child (it is the first element in the list), and we find that the accessible name for both is None.  Thus, we think different children are the same.  This needs fixing.


Comment 2 Rich Burridge 2006-07-26 00:13:09 UTC
One possible way to uniquely differentiate two such
similar children, is to also factor in the depth of
the child from the top of the component hierarchy.
Comment 3 Willie Walker 2006-07-26 00:43:57 UTC
I think the problem is that this is the same list whose contents are changing to reflect the contents of a directory.  Thus, even though we're seeing a logical change in depth in file views, the depth in the list is going to be the same.
Comment 4 Willie Walker 2006-08-10 16:23:27 UTC
See also http://bugzilla.gnome.org/show_bug.cgi?id=350739 - it's fixes may fix this.
Comment 5 Rich Burridge 2006-09-06 20:32:46 UTC
Closing as a duplicate, against an actual instance of this problem.

*** This bug has been marked as a duplicate of 347691 ***