Bug 26814 - [Gtk] Caret-moved events are not issued for the correct offset when text is selected forward
Summary: [Gtk] Caret-moved events are not issued for the correct offset when text is s...
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks: 25531
  Show dependency treegraph
 
Reported: 2009-06-29 14:02 PDT by Joanmarie Diggs (irc: joanie)
Modified: 2009-07-03 21:19 PDT (History)
3 users (show)

See Also:


Attachments
textcaretmoved.patch (2.71 KB, patch)
2009-07-02 00:48 PDT, Xan Lopez
jmalonzo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs (irc: joanie) 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 (irc: joanie) 2009-07-03 21:19:23 PDT
Verifying. Thanks Xan!