Skip to content

MacOS ctrl-h doesn't work correctly with IME #32822

@mazamachi

Description

@mazamachi
  • VSCode Version: Code 1.15.1 (41abd21, 2017-08-16T17:15:57.756Z)
  • OS Version: Darwin x64 16.3.0 (macOS)
  • Extensions: --disable-extensions

Steps to Reproduce:

  1. Open any file.
  2. Turn on an IME such as macOS standard IME or Google Japanese IME.
  3. Write some texts with the IME.
  4. Put ctrl + h.

Expected: Delete the last character on the IME just like backspace.
https://gyazo.com/4e87f8a0ace2e8dfde4ee4a0d0b11622
(in CotEditor)

Actual: Delete the last character on the IME and the character before the IME input.
https://gyazo.com/64eb3ac6fda1cf14f95935bc41f6187d

In the same way, ctrl-A, ctrl-F, and ctrl-B don't work correctly.
I think this is because key down event propagation is not stopped even if the IME is enabled.
#25023 and #24980 are related to this issue.

Reproduces without extensions: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-input-IMEEditor input of characters not on keyboardverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions