Open Bug 1182232 Opened 9 years ago Updated 1 year ago

Mac: Allow suppressing Cmd-Shift-/ shortcut event. ( or Cmd+Shift+/)

Categories

(Core :: Widget: Cocoa, defect)

39 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bsrbkalyan, Unassigned)

Details

(Whiteboard: tpi:-)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:39.0) Gecko/20100101 Firefox/39.0 Build ID: 20150630154324 Steps to reproduce: Cmd-Shift-/ by default opens Help menu search on Mac. I was able to suppress the above shortcut for Chrome & Safari using below Javascript event handling. But Firefox(Version 39 or older) is not honoring event suppression. Below is the method. if (event.keyCode == 66 && event.shiftKey && event.metaKey) { // Do something here event.preventDefault(); event.stopImmediatePropagation(); } Actual results: It still shows Help menu search popup Expected results: Should suppress help menu search and honor the statements at //Do something here if (event.keyCode == 66 && event.shiftKey && event.metaKey) { // Do something here event.preventDefault(); event.stopImmediatePropagation(); }
Component: Untriaged → Widget: Cocoa
Product: Firefox → Core
Whiteboard: tpi:-
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: