[Webkit-unassigned] [Bug 53323] New: [GTK] character range extents is off when the end of a wrapped line is included

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 12:26:40 PST 2011


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

           Summary: [GTK] character range extents is off when the end of a
                    wrapped line is included
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joanmarie.diggs at gmail.com
                CC: apinheiro at igalia.com, msanchez at igalia.com


This may be another aspect of Bug #53300. But since they seem differentish....

Steps to reproduce:

1. Open the test case from Bug #53300 (https://bugs.webkit.org/attachment.cgi?id=80446) and resize the window so that the text wraps as follows:

   It's not pinin,' it's passed on! This parrot is no more! It
   has ceased to be! It's expired and gone to meet its
   maker! This is a late parrot! It's a stiff! Bereft of life, it
   [...]

2. Launch Accerciser, select the accessible object associated with the paragraph from the test case. Then in the iPython console:

In [1]: text = acc.queryText()
In [2]: text.getTextAtOffset(0, TEXT_BOUNDARY_LINE_START)
Out[2]: ("It's not pinin,' it's passed on! This parrot is no more! It ", 0, 60)
In [3]: text.getRangeExtents(0, 60, WINDOW_COORDS)
Out[3]: (8, 8, 333, 34)  <--- Two lines high
In [4]: text.getRangeExtents(0, 59, WINDOW_COORDS)
Out[4]: (8, 8, 333, 17)

3. Repeat the test using Gedit.

In [5]: text = acc.queryText()
In [6]: text.getTextAtOffset(0, TEXT_BOUNDARY_LINE_START)
Out[6]: ("It's not pinin,' it's passed on! This parrot is no more! It ", 0, 60)
In [7]: text.getRangeExtents(0, 60, WINDOW_COORDS)
Out[7]: (6, 94, 472, 17)
In [8]: text.getRangeExtents(0, 59, WINDOW_COORDS)
Out[8]: (6, 94, 472, 17)

As a result of the above difference, Orca's "flat review" feature presents multiple lines, rather than just one line, at a time.  It would be quite helpful if the extents from WebKitGtk could match what we see from Gtk Text widgets.

-- 
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