Closed Bug 918859 Opened 11 years ago Closed 11 years ago

Firefox does not respect KeyBindings on Mac

Categories

(Core :: Widget: Cocoa, defect)

24 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 282097

People

(Reporter: jrspam, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20130910160258 Steps to reproduce: On a Mac running OS X 10.8.5: [1] Create the file ~/Library/KeyBindings/DefaultKeyBinding.dict and add these lines: { /* Remap Home / End to be correct :-) */ "\UF729" = "moveToBeginningOfLine:"; /* Home */ "\UF72B" = "moveToEndOfLine:"; /* End */ "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */ "$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */ } [2] Run Firefox 24.0. [3] Put the cursor in any text box in Firefox (e.g. URL bar, search box). [4] Type some text. [5] Press Home. [6] Move the cursor to the start of the text and press End. Actual results: Home key did nothing. End key did nothing. Expected results: Home key should have moved the cursor to the start of the line of text. End key should have moved the cursor to the end of the line of text. With the DefaultKeyBinding file set up as shown above, all other applications on the Mac behave correctly with respect to the Home and End keys. Firefox is the lone exception.
OS: Windows 7 → Mac OS X
Hardware: x86 → x86_64
Fortunately this was fixed very recently in bug 282097 for Firefox 25, which is now in Beta. If you'd like, you can try it out here, but you might want to test using a new profile: http://www.mozilla.org/en-US/firefox/beta/
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Component: Untriaged → Widget: Cocoa
Product: Firefox → Core
Resolution: --- → DUPLICATE
Yay! Also, oops.
You need to log in before you can comment on or make changes to this bug.