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 650897 - a11y needs updating for newest GTK+ and AT-SPI
a11y needs updating for newest GTK+ and AT-SPI
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: Icon View
0.x.x [obsolete]
Other Linux
: Normal minor
: 3.2
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 659240 (view as bug list)
Depends on:
Blocks: 659240
 
 
Reported: 2011-05-23 18:57 UTC by Mike Gorse
Modified: 2012-02-20 20:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch. (16.27 KB, patch)
2011-09-16 15:05 UTC, Mike Gorse
committed Details | Review

Description Mike Gorse 2011-05-23 18:57:04 UTC
When an icon container's selection changes, its atk object fires a selection-changed signal but not a state-changed:selected for the children whose states are changing.  AT-SPI2 wants the state-changed events to update its cache, so, without a work-around, Orca will read "unselected" when focus moves onto an icon because the AT-SPI cache does not have ATSPI_STATE_SELECTED for the accessible.
Comment 1 Mike Gorse 2011-09-16 15:05:51 UTC
Created attachment 196737 [details] [review]
Patch.

Derive EelCanvasAccessible from GtkAccessible, as is currently recommended.
Also, have canvas item accessibles send object:state-changed:selected when
appropriate.
Comment 2 Cosimo Cecchi 2011-09-19 17:35:13 UTC
Mike, thanks for the patch.
After discussing this a bit more on IRC, we concluded most of this code should go away once GTK has a public API for accessible widget base implementations. In the meantime, I cleaned up some style nits from the patch and pushed it to master.
Comment 3 Joanmarie Diggs (IRC: joanie) 2012-02-20 20:10:17 UTC
*** Bug 659240 has been marked as a duplicate of this bug. ***