Emacs keybinding should take precidence over Javascript events
Reported by
weiwu.zh...@realss.com,
Jan 21 2018
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/63.0.3239.84 Chrome/63.0.3239.84 Safari/537.36 Steps to reproduce the problem: 1. Enable Emacs Keybinding with 'gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"' 2. access Gmail. Write a new email. 3. Press "Ctrl+K". What is the expected behavior? I hope that if a keyboard shortcut is mapped to gnome key, it takes precedence over javascript events. What went wrong? At Ctrl+K, instead of killing the text after the cursor, gmail pops up a window asking for link. Did this work before? N/A Chrome version: 63.0.3239.84 Channel: n/a OS Version: Ubuntu 17.10 Flash Version: I can see the reasoning against making emacs keys take precedence over JS event. Alternatively, this can be done with a Chromium plugin or a switch.
,
Jan 24 2018
I use emacs keybindings as well, and I'm able to reproduce the issue. Anyone from blink have any insight into how this could be fixed?
,
Feb 1 2018
This would be a feature request to add emacs key bindings to https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/editing/EditingBehavior.cpp Over to the editing team.
,
Feb 1 2018
I don't think this is a feature request. Emacs keybindings are already supported, they're just broken in this case.
,
Feb 2 2018
Mark WontFix, this should be done in extension instead of Chrome. Even if Chrome support Emacs binding, e.g. Chrome on MacOS is very similar to Emacs binding, Ctrl+A=>start of line, Ctrl+K=>Kill-to-ring, Gmail captures Ctrl+K and Gmails does its own task. Chrome's keybinding does a task if web site doesn't handle keydown event. If you want to make Ctrl+K works what you want other than Gmail's, you need to have an extension to override it. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ajha@chromium.org
, Jan 23 2018