[LDTP-Dev] [Bug 346464] gedit crashes when LDTP gettextproperty is used on text that is underlined in squiggly lines

gedit (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jul 14 03:03:12 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=346464
 gedit | general | Ver: 2.14.x


Nagappan changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Comment #6 from Nagappan  2006-07-14 10:03 UTC -------
Bill:

settextvalue function internally calls Accessible_isEditableText and if its
true, AccessibleEditableText_setTextContents function is called.

In gettextproperty, AccessibleText_getAttributes function is called to get the
text properties.

Additional info:
  We have added this comment in our code.
        /* AccessibleText_getAttributes doesn't seem to be taking the
        end position i.e. the diff value into account. It only checks
        from the start position */
  So, we are calling this way
text_prop = AccessibleText_getAttributes (accessibleText, start_pos, &zero,
&diff);
Here,
start_pos = zero = 0; end position is 8 with this example.
diff = end_pos - start_pos;


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the LDTP-dev mailing list