CEP-Resources icon indicating copy to clipboard operation
CEP-Resources copied to clipboard

CEP 10, IME doesn't work in modal/modeless dialogs on Windows.

Open sir-editor opened this issue 4 years ago • 5 comments

IME - input method editor, e.g. Japanese IME.

Seems that it doesn’t work in CEP modal/modeless dialogs on Windows.

I tested all CEP HTML Test extensions, Premiere Pro 14.8, CEP 10, Windows 10:

  • IME works fine in panel mode
  • IME doesn't work fine in modal/modeless dialogs

I’ve tested in Premiere 13.5, CEP 9.4 and everything works. On macOS everything works in both CEP versions.

sir-editor avatar Feb 19 '21 08:02 sir-editor

This has been fixed in CEP 11.1. Can you please check this on the pre-release builds available.

refer: https://github.com/Adobe-CEP/CEP-Resources/releases/tag/CEP11

sujaisivanandan avatar Jun 01 '21 04:06 sujaisivanandan

Hi @sujaisivanandan, is there a known workaround in CEP10? Thanks!

genequ avatar Jun 08 '21 08:06 genequ

This has been fixed in CEP 11.1. Can you please check this on the pre-release builds available.

@sujaisivanandan I've just tested it. It kinda works, but weird. Here is a comparison of IME from CEP 9.4 and CEP 11.1.

In CEP 9.4 IME is "inlined" in text input and it also generates "compositionstart" and "compositionend" events, which is crucial in my case: when user presses Enter/Return a search bar executes selected action, so when in IME mode I need to turn that off and it was possible with those events. Screenshot 2021-06-08 at 17 03 31

In CEP 11.1 IME is separated from text input (see, symbols are in a small box below text input) and it doesn't generate "compositionstart" and "compositionend" events. And now those events are not generated for panels as well (which just breaks IME for me completely). Screenshot 2021-06-08 at 17 03 44

Is it possible to get same IME as in CEP9.4? Or at least get "compositionstart", "compositionend" events when IME is activated?

sir-editor avatar Jun 08 '21 14:06 sir-editor

is there a known workaround in CEP10? Thanks!

@genequ I shipped extension with two types of windows: modeless and panel. In settings user is allowed to switch between one of them.

sir-editor avatar Jun 08 '21 14:06 sir-editor

I noticed similar problems in our own extension and in Illustrator's Libraries plugin (AI 25.4.1 and AI 26 RC1 build) when using Chinese Pinyin IME:

  1. the IME toolbar does not follow the cursor, it appears at the top left corner of the screen (0, 0), which should appear right behind the cursor. Screen Shot 2021-09-22 at 20 53 30
  2. after switch to another program (e.g, File Explorer) and switch back to the host application (Illustrator), Chinese input is not accepted.

genequ avatar Sep 22 '21 12:09 genequ