[Webkit-unassigned] [Bug 30878] New: [Gtk] atk_text_get_text() fails in entries when the end_offset is -1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 14:09:23 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30878

           Summary: [Gtk] atk_text_get_text() fails in entries when the
                    end_offset is -1
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joanmarie.diggs at gmail.com
                CC: xan.lopez at gmail.com, William.Walker at sun.com,
                    apinheiro at igalia.com


Steps to reproduce:

1. Navigate to Google
2. Type "foo" in the search entry
3. Launch Accerciser 
4. Select the object of ROLE_ENTRY and get into the iPython console

   In [1]: acc.queryText().getText(0, -1)
   Out[1]: '' <--- wrong (should be 'foo')

   In [2]: acc.queryText().getText(0, 3)
   Out[2]: 'foo' <--- (everything else seems to work; just not an end_offset at
-1)

Also note that if you select other objects which implement AtkText (including
the object of ROLE_TEXT which is the descendant of the entry above),
atk_text_get_text(0, -1) works as expected.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list