Bug 14057

Summary: Emacs keybindings override accesskeys (when a textbox has focus)
Product: WebKit Reporter: Jesse Ruderman <jruderman>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: ap, ian
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.squarefree.com/start/

Jesse Ruderman
Reported 2007-06-10 00:00:35 PDT
1. Load http://www.squarefree.com/start/ 2. Press Ctrl+1 to focus the Google Search textbox. 3. Press Ctrl+A to go to Asa's blog. Result: Nothing happens. Expected: Go to Asa's blog. Note that some shortcuts, such as Ctrl+S, continue to work. So I guess only the Ctrl+letter shortcuts that have "emacs-like keybindings" (e.g. Ctrl+A for "beginning of line") are overridden. I don't know whether WebKit's behavior is intentional, but it's the opposite of Firefox's behavior and it keeps confusing me.
Attachments
Alexey Proskuryakov
Comment 1 2007-12-07 08:47:49 PST
Looks like this worked in Safari, was broken in Safari 3 beta, and works again in release. And we have a test fast/forms/access-key.html that checks for this, so I'm closing as FIXED. Note that an opposite behavior has been requested, as well: bug 7466.
Ian 'Hixie' Hickson
Comment 2 2008-04-03 00:37:22 PDT
This bug has caused me dataloss (I was in a form field, I pressed ctrl+e to go to the end of the line, and it navigated away from the page). I had to look at the page source to work out what Ctrl+E was supposed to do, since it didn't highlight a menu like Mac apps normally do when I hit an accelerator.
Ian 'Hixie' Hickson
Comment 3 2008-04-03 00:38:49 PDT
Or rather, the fix for this bug has caused me dataloss.
Note You need to log in before you can comment on or make changes to this bug.