[Webkit-unassigned] [Bug 53453] New: [Gtk] atk_text_get_selection/atk_text_set_selection fails for list items

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 31 14:41:09 PST 2011


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

           Summary: [Gtk] atk_text_get_selection/atk_text_set_selection
                    fails for list items
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: msanchez at igalia.com
                CC: joanmarie.diggs at gmail.com, apinheiro at igalia.com
            Blocks: 25531


Due to the same reason behind bug 53388 and bug 53436, the actual behaviour with  atk_text_get_selection and atk_text_set_selection when applied to list items is not the expected one, hence needs fixing.

Steps to reproduce:

1. Open the test case attached to bug 53388 (attachment 80582 [details]) in Epiphany.

2. Select all the text right after the 'First' word (' item'), in the first list item.

3. Using Accerciser, attempt to get and set the selection within that list item, and check that the actual results, by:

A. Selecting the corresponding object in Accerciser's tree of accessible objects

B1. Typing 'acc.queryText().setSelection(0, 0, 5)'

  Expected outcome: False (as you shouldn't be able to select inside the item's marker)
  Actual outcome: True

B2. Typing 'acc.queryText().setSelection(0, 3, 8)'

  Expected outcome: True (+ you'll see the 'First' substring selected)
  Actual outcome: True (but nothing is selected)

C. Manually select the 'First' substring and type 'acc.queryText().getSelection(0)'

  Expected outcome: (0, 5)
  Actual outcome: (3, 8)

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