Open Bug 1514004 Opened 2 years ago Updated 2 years ago

Unreserve Keyboard Shortcut Ctrl+w

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

64 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: alexander.fratzer, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

Hi,
at the moment the shortcut ctrl+w is reserved (key_close and key_closeWindow in browser-sets.inc). This is pretty annoying for webapplications with custom keybindings like codemirror-editor (vim-mode) or browser games.


Actual results:

JS applications are not able to overwrite the keybinding. So Crtl+w always closes the focused tab.


Expected results:

It should at least be possible to overwrite the keybinding by addons like Shortkeys or to patch the browser-sets.inc after building.
Component: Untriaged → Keyboard: Navigation
Product: Firefox → Core
Priority: -- → P3
Component: Keyboard: Navigation → User events and focus handling

Please check the Chrome bug fix for similar issue:

https://bugs.chromium.org/p/chromium/issues/detail?id=680809#c99

It's better to be able to use that browser reserved keys in Firefox too.

You need to log in before you can comment on or make changes to this bug.