haxeui-openfl icon indicating copy to clipboard operation
haxeui-openfl copied to clipboard

TextField does not support IME

Open apptaro opened this issue 7 years ago • 5 comments

I can't input Japanese characters into textfields because they don't work with IME. Tried neko and html5 targets, and they both don't work.

Expected Behavior

Should be able to input Japanese characters using IME.

Current Behavior

IME does not work.

Possible Solution

haxeui-html5 has a mode where native input controls are used. Can the same approach be taken??

Steps to Reproduce (for bugs)

  1. Create an app that has a TextField.
  2. Build.
  3. Try to input Japanese characters into the field.

Media

Test app / minimal test case

Context

With this issue, haxeui-openfl is completely useless for Japanese/Chinese/Korean users.

Your Environment

  • Version used: haxeui-core 0.0.3 & haxeui-openfl 0.0.2

apptaro avatar Jan 17 '18 11:01 apptaro

Presumably this is an issue with openfl also?

ianharrigan avatar Jan 17 '18 12:01 ianharrigan

Maybe related to this? https://github.com/openfl/openfl/issues/1098

apptaro avatar Jan 17 '18 12:01 apptaro

I have confirmed that OpenFL has the same issue. The issue above is closed without a fix.

apptaro avatar Jan 17 '18 12:01 apptaro

Ok, well, i guess we leave this open until thats working - as you mention, another possibility is to have a native textfield that floats over an openfl application - so this could be used to track that also

ianharrigan avatar Jan 17 '18 13:01 ianharrigan

Or for html5 target, this: https://github.com/goldfire/CanvasInput It draws input field on canvas and IME does work magically for Japanese.

apptaro avatar Jan 17 '18 13:01 apptaro