Bug 19829 - "manages-descendants" state not supported
Summary: "manages-descendants" state not supported
Status: CLOSED FIXED
Alias: None
Product: at-spi2
Classification: Unclassified
Component: atk (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Mark Doffman
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-30 06:31 UTC by Mark Doffman
Modified: 2015-09-07 15:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mark Doffman 2009-01-30 06:31:53 UTC
The "manages-descendants" state is not supported by AT-SPI D-Bus this is because no remote reference counting takes place in AT-SPI D-Bus.

This means that accessible objects that come under "manages-descendants" are unowned (Not owned by parent accessible or remote AT).

AT-SPI D-Bus therefore ignores all children of "manages-descendants" containers. The solution to this is unknown.

Discussion has been taking place on the gnome-a11y devel lists, as it may involve a change to ATK.

See thread at:

http://mail.gnome.org/archives/gnome-accessibility-devel/2009-January/msg00013.html
Comment 1 Mark Doffman 2009-03-16 02:22:33 UTC
The major use of 'manages-descendants' is within the gail implementation of GtkTreeView. GtkCell is not a GtkWidget, so a different method of making the cells accessible was required. The accessible objects are created for each cell and then placed in a cache associated with the TreeView. The cells are only weakly referenced within the cache meaning that they are not owned by their parent accessible object. 

This could be modified so that the GtkTreeView owned all of the AtkObjects that implement accessibility for its cells. This would mean that GtkTreeView would not need to expose state 'manages-descendants' making it accessible for D-Bus AT-SPI.
Comment 2 Mark Doffman 2010-01-14 03:55:08 UTC
The atk-bridge now has the ability to 'lease' accessible objects.
This is a reference taken by the bridge that will last for a certain period of time before expiring.

This leasing scheme was added in commit 5713a8e46559b6de9 and is available in the 0.1.5 release.

It enables support for children of objects with "manages-descendants" as one of the states.
Comment 3 vinayak 2015-09-07 15:37:28 UTC
tested in release 06/09/2015,working as functionalaly.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.