Skip to content

Backspace can not erase the last one character during Japanese IME conversion (macOS)  #9173

@Thomas101

Description

@Thomas101
  • Electron version: 1.6.2, 1.6.6, not 1.4.16
  • Operating system: macOS 10.12.2 Sierra, macOS 10.12.4

Expected behavior

When inputting Japanese sentences using the Japanese IME (Input Method Editor) to convert alphabets to Japanese (CJK) characters you should be able to delete each character in turn by pressing backspace

Actual behavior

The very last character always needs two backspace presses

How to reproduce

  • Clone my version of electron starter
$ git clone https://github.com/wavebox/electron-quick-start -b japanese_delete_bug
$ npm install
$ npm start
  • Go to System preferences > Language & Region
  • Press the + to add a language and add Japanese (about a whole scroll down for me)
  • When prompted use your current language as the primary language
  • Launch the repository clone of quickstart (above)
  • Using the flag icon in the mac top bar change your current input method to Katakana
  • Click in the input field, type a few characters, then start hitting backspace
  • To delete the last character you have to hit backspace twice

Some other things about this I've found...

  • Remove the webview tag from the page and it works as expected (input field is not within the webview, but does also affect it there)
  • Issue is reproducible in 1.6.2 & 1.6.6 (maybe others inbetween)
  • Issue not apparent in 1.4.16
  • Some gifs of the behaviour in the original issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions