GNOME Bugzilla – Bug 630097
atktext does not include PANGO_UNDERLINE_ERROR
Last modified: 2010-09-21 10:31:21 UTC
The Gtk underline property [1] allows for the following underline types [2]: * none * single * double * low * error Atk, on the other hand [3], only allows for: * none * single * double * low The impact of omitting the 'error' type of underline is that when that attribute is present, and when an AT such as Orca attempts to get the text attributes, the application being accessed will crash, as demonstrated from the backtrace below (taken whilst using Pidgin). [1] http://library.gnome.org/devel/gtk/stable/GtkTextTag.html#GtkTextTag--underline [2] http://library.gnome.org/devel/pango/stable/pango-Text-Attributes.html#PangoUnderline [3] http://library.gnome.org/devel/atk/unstable/AtkText.html#AtkTextAttribute
+ Trace 223808
Thread 1 (Thread 0xb7807850 (LWP 19210))
Created attachment 170601 [details] [review] proposed fix This solves the problem for me, as verified by the fact that I can no longer crash Pidgin -- and also that Accerciser correctly indicates an underline type of 'error' for the red squiggly line. Given that this bug makes it very likely that Orca braille users will encounter frequent crashes in Gtk+ applications which indicate misspelled words, I think this patch (or a similar such fix) should be considered for code freeze break.
Note that this bug will also cause frequent crashes in OCRFeeder due to the recent addition of spell checking support.
Review of attachment 170601 [details] [review]: I have got the approval from release team. Please commit the patch.
Comment on attachment 170601 [details] [review] proposed fix Thanks Li! Done. http://git.gnome.org/browse/atk/commit/?id=b122c67c180d1ecdadcf799e364f9856e3ab8913