atom / atom-keymap

Atom's selector-based keymap system
MIT License
105 stars 58 forks source link

Cannot input Chinese using Microsoft Pinyin #177

Closed winstliu closed 8 years ago

winstliu commented 8 years ago
  1. Switch input method to Microsoft Pinyin on Windows (this may also work with other Chinese input methods; I don't know)
  2. Type some pinyin into the IME and select your choice

Expected: Chinese shows up in the editor Actual: Nothing happens

In addition, I cannot activate the keybinding resolver while using Microsoft Pinyin, irregardless if I'm in Chinese or English mode. Other shortcuts (Settings View, command palette, etc. work fine). However if I activate it using a normal keymap before switching to Microsoft Pinyin the resolver shows process whenever the IME is active.

no-chinese

(In one of the previous gifs I recorded that I messed up in, it looked like the Chinese was briefly inserted and then almost immediately deleted)

Atom 1.14.0-dev-e2b4b69 (Electron 1.4.x branch), Windows 10 x64. The gif is not in safe mode but I can reproduce it in safe mode as well.

nathansobo commented 8 years ago

@50Wliu Could you test out the build associated with atom/atom#13233 when you get a chance? It should fix this issue.

ungb commented 8 years ago

@nathansobo I tested it with the build on windows and now the chinese characters are being selected, but sometime letters are added and not converted. Similar to #172 See gif here: chineseplayback

Same behavior doesn't happen when typing on other editors.

nathansobo commented 8 years ago

@ungb Does the bug pictured above where the trailing d is appended occur on 1.11.x or is this a 1.12.x regression?