[Webkit-unassigned] [Bug 49514] New: [Gtk] atk_text_get_selection returns the wrong offsets after a link

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 14 14:03:38 PST 2010


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

           Summary: [Gtk]  atk_text_get_selection returns the wrong
                    offsets after a link
           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: xan.lopez at gmail.com, apinheiro at igalia.com,
                    msanchez at igalia.com


Created an attachment (id=73857)
 --> (https://bugs.webkit.org/attachment.cgi?id=73857&action=review)
test case

Steps to reproduce:

1. Load the test case in Epiphany and launch Accerciser.
2. For each paragraph:
   a. Select the word 'test'
   b. Select the paragraph in Accerciser's object tree.
   c. With the pargraph selected, get the first selection by
      typing 'acc.queryText().getSelection(0)' in the iPython
      console.

Expected results: The startOffset and endOffset for the selection would be the same for each paragraph, because the word 'test' appears at the same character offsest in each paragraph.

Actual results: The startOffset and endOffset for the selection in each paragraph is different, with offset 0 appearing to be the first character after the link:

  In [1]: acc.queryText().getSelection(0)
  Out[1]: (10, 14)
  In [2]: acc.queryText().getSelection(0)
  Out[2]: (6, 10)
  In [3]: acc.queryText().getSelection(0)
  Out[3]: (3, 7)
  In [4]: acc.queryText().getSelection(0)
  Out[4]: (1, 5)

Impact: Orca incorrectly states that text is not selected when it is selected. In addition, it displays the wrong text as being selected on the braille display.

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