GNOME Bugzilla – Bug 669441
Accessibility no longer works with gtk+ 3.2 and above
Last modified: 2014-01-29 10:28:09 UTC
GTK's accessibility code was refactored in the 3.1 cycle to drop the external gail module. Accessibility classes are now built directly into gtk+, but there are no longer atk factory classes associated with the GtkAccessible-derived classes, so the code to fetch the atk class for a gtk widget via the factory no longer works. The current recommendation is for third-party widgets with custom implementations to derive atk classes from GtkAccessible and override gtk_accessible in the custom widget's class.
Was this bug meant for GTK+?
Fetching an atk type via the factory no longer works with gtk+ 3.2 and later, so gtkhtml's custom atk implementations no longer work. I'd meant to update gtkhtml's a11y code to work with the latest gtk+. However, this post is relevant: https://mail.gnome.org/archives/gtk-devel-list/2012-August/msg00001.html Also, I'd prepared a patch and thought that I'd attached it, but it seems that I never did.
Probably not worth the effort at this point. GtkHTML will likely be retired within the next 6-12 months. Evolution is moving to WebKit/GTK+.
Created attachment 232950 [details] [review] Adjust to gtk+ a11y changes -- I got a bug report that gnome-shell's OSK wasn't working with the evolution composer. After digging for a while in the code I ended up fixing this. It would be nice to have this fixed but if the move to webkitgtk+ is close it might not be worth it?
*** Bug 691161 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > I got a bug report that gnome-shell's OSK wasn't working with the > evolution composer. After digging for a while in the code I ended up > fixing this. It would be nice to have this fixed but if the move to > webkitgtk+ is close it might not be worth it? Thanks for the patch, but it looks like this requires a bleeding-edge gtk+ to build, so it's going to have to wait until GNOME 3.9. I don't know if GtkHTML will even survive that long.
Created attachment 232979 [details] [review] Alternate patch. I meant to upload this patch a long time ago but never did. Rui's patch is much cleaner, although it needs gtk+ 3.7.4 (not released yet).
Evolution is still using gtkhtml for the message composer, so, anyway, can we commit the patch in comment 5?
Review of attachment 232950 [details] [review]: Please commit to master, make sure you'll bump the gtk+ version requirement as necessary. Thanks.
Pushed with the gtk+ version requirement bumped to 3.2.0. Attachment 232950 [details] pushed as bf664ec - Adjust to gtk+ a11y changes