GNOME Bugzilla – Bug 120025
Implement accessibility toolkit support
Last modified: 2004-12-22 21:47:04 UTC
Currently gnopernicus does not receive at-spi/gail events on workspace switch, alt-tab, alt-space, etc, so no speech is possible for these events. This is an accessibility showstopper. We need to figure out what is required to get metacity to support atk.
*** Bug 118870 has been marked as a duplicate of this bug. ***
*** Bug 118864 has been marked as a duplicate of this bug. ***
*** Bug 111934 has been marked as a duplicate of this bug. ***
*** Bug 120253 has been marked as a duplicate of this bug. ***
with four dups against it, can we escalate the priority and/or severity of this bug? thanks. possible solutions would be (1) for metacity's focus-cycling to be changed such that the windows in the list are _actually focussed_ during the TAB cycle rather than just having the metacity window list popup highlight them, or; (2) make metacity connect to at-spi-registryd and have it's popup send ATK events, so that the names of the highlighted toplevels were spoken by gnopernicus in the same way other active widgets are spoken when focussed (means metacity's popup would probably have to grab focus during the alt-tab cycling process) perhaps others.
You can set priority and severity to whatever you want, however I still don't have time to look at it right now. ;-) If someone else would like to, please do. I prefer the second approach (sending proper events) rather than actually focusing the windows as you go through them.
There are two separate issues: 1) Determining whether accessibility support should be enabled in metacity. 2) Reporting chnage of window name when Atl+Tab or Ctrl+Alt+Tab is pressed. I will attach a patch to metacity for the sewcond issue. To test it with gnopernicus, pening resolution of issue 1, one would bnned to set the environment variable GTK_MODULES to "gail:atk-bridge" and restart metacity by "metacity --replace". Regarding issue 1, the options seem to be to either make metacity a GNOME application or add to metacity code which checks the setting of the accessibility GConf key and loads the accessibility modules.
Created attachment 19824 [details] [review] Proposed patch
Created attachment 19845 [details] [review] Patch to load accessibility modules into metacity
*** Bug 122310 has been marked as a duplicate of this bug. ***
those patches look good to me. We should probably go ahead and commit those before we branch for gnome 2.4. I assume that calling the atk_object_set_role stuff doesn't cause problems if accessibility modules aren't loaded?
Calling atk_object_set_role will not cause a problem if accessibility modules are not loaded. Should I interpret your comments as permission to commit the patches?
no, sorry. Havoc needs to approve. I was just telling Havoc I think that he should.
First patch looks fine. Second patch also looks fine (for now) with two caveats: - it might be nice to run it by the release team, as technically it's a feature - it is totally broken, it looks like bug #117236 is the real fix I'd like to open a new metacity bug with a dependency on 117236 to remove this code again after we've done things more reasonably.
Please go ahead and commit these patches, will be making a 2.6.2 soon.
Patchse committed to CVS HEAD.
Thanks. I filed bug #123372 to clean up the hack patch #2 by GTK+ 2.4.