[Webkit-unassigned] [Bug 54434] New: Backwards selection leaves out last character in certain cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 14 21:44:49 PST 2011


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

           Summary: Backwards selection leaves out last character in
                    certain cases
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rolandsteiner at chromium.org
                CC: rniwa at webkit.org


This effect is most easily seen in an editable field, since there is a caret for "bookkeeping":

1.) Enter 'UVWXYZ' (works with any string, just using this for reference purposes below)
2.) click on the right half of the W, right next to the center point
3.) without moving the mouse: notice the caret being painted to the right of the character and the mouse cursor, as expected
4.) drag to the left towards U - notice that W doesn't get selected after all

HOWEVER:

2a) clicking "too far" right doesn't reproduce (the area where this happens is only a few pixels wide)
4a) clicking on the correct spot, but dragging even a little bit to the right before dragging left doesn't reproduce

This behavior is IMHO aggravating inasmuch as that on a backwards drag selection there is a certain chance that the last character (the one clicked on) does not actually become selected and one has to redo the selection.

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