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

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jul 3 06:38:29 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
 LDTP | ldtp | Ver: 0.4.x

           Summary: gedit crashes when gettextproperty is used on text that
                    is underlined in squiggly lines
           Product: LDTP
           Version: 0.4.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: srinics_202 at yahoo.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
In gedit, when automatic spell checking is on, misspelled words are underlined
with a squiggly red line.. When you try to get properties of such text using
gettextproperty() function, gedit crashes.


Steps to reproduce:
1. Enable automatic spell checking in gedit (Enable spell-checker plugin in
edit->preferences, and then enable the checking in tools->automatic spell
checking).
2. Type some misspelled word like teh. Gedit will underline the word in red
3. Open a python shell, and give the commands from ldtp import * and then
gettextproperty('*gedit','txt0',0,2) (assuming you typed teh in a new
document.If not, change parameters accordingly)


Actual results:
Gedit crashes, and gettextproperty returns a "Unable to get property"

Expected results:
Some or no output from gettextproperty(Not "unable to get property"). Atleast,
gedit should not crash.

Does this happen every time?
Yes, everytime

Other information:


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are watching the assignee for the bug.


More information about the LDTP-dev mailing list