Bug 26814

Summary: [Gtk] Caret-moved events are not issued for the correct offset when text is selected forward
Product: WebKit Reporter: Joanmarie Diggs <jdiggs>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: VERIFIED FIXED    
Severity: Normal CC: apinheiro, walker.willie, xan.lopez
Priority: P3 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 25531    
Attachments:
Description Flags
textcaretmoved.patch jmalonzo: review+

Description Joanmarie Diggs 2009-06-29 14:02:18 PDT
(This is a spin-off bug from bug #25526 comment #15)

Steps to reproduce:

1. Launch Epiphany and Accerciser.

2. Having enabled Accerciser's event monitor to examine object:text-caret-moved events, use Shift+Right to select forward by character.

Expected results: The offset reported for each associated caret-moved event would reflect the current character offset.

Actual results: The offset reported for each associated caret-moved event does not change and reflects the offset of the selection start.
Comment 1 Xan Lopez 2009-07-02 00:48:40 PDT
Created attachment 32172 [details]
textcaretmoved.patch

Report the offset from the end of the selection.
Comment 2 Jan Alonzo 2009-07-03 05:45:29 PDT
Comment on attachment 32172 [details]
textcaretmoved.patch

r=me.
Comment 3 Xan Lopez 2009-07-03 07:11:25 PDT
Landed as r45535.
Comment 4 Joanmarie Diggs 2009-07-03 21:19:23 PDT
Verifying. Thanks Xan!