Bug 16552

Summary: Some items in DefaultKeyBindings aren't working as expected.
Product: WebKit Reporter: Danny Bloemendaal <danny.bloemendaal>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
My keybindings none

Description Danny Bloemendaal 2007-12-21 01:11:13 PST
I have these definitions in my personal keybindings (among others):

    "^\UF703" = "moveWordForward:"; /* ctrl right */
    "$^\UF703" = "moveWordForwardAndModifySelection:"; /* shift-ctrl right */

And the first works like a charm, moves the cursor to the next word. But the second selects until the end of the line instead of only the next word.
Comment 1 Mark Rowe (bdash) 2007-12-21 01:14:28 PST
*** Bug 16553 has been marked as a duplicate of this bug. ***
Comment 2 Danny Bloemendaal 2007-12-21 01:17:21 PST
Created attachment 18027 [details]
My keybindings
Comment 3 Alexey Proskuryakov 2007-12-21 02:36:45 PST
The problem seems to have no relation to WebKit - this also happens in TextEdit. Oddly, it looks like a binding for ^x breaks the binding in question.

Note that the OS has a default binding for Ctrl+Shift+Right, which is to select to the end of line. Maybe there is some problem with resolving conflicts between system and user key bindings.

 I have also verified that moveWordForwardAndModifySelection: works correctly when invoked from Operations menu in Blot.

Please file this via <http://bugreport.apple.com> (free registration required).
Comment 4 David Kilzer (:ddkilzer) 2007-12-21 09:34:11 PST
(In reply to comment #3)
> Please file this via <http://bugreport.apple.com> (free registration required).

You may create a free "online" ADC account using <https://connect.apple.com/>.