Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: Japanese
Description
I believe that the IME-related code in Flex's TextInput and TextArea controls is incorrect. I believe that the focusOutHandler for these controls should not be disabling IME, nor should it be altering the IME conversion mode.
Consider the case of TextInput A whose imeMode property is set to IME.JAPANESE_HIRAGANA and TextInput B whose imeMode property is unset. Further consider that the user has manually set the IME mode to Hiragana. Changing focus from B then to A then to B will currently result in the following sequence:
B.focusInHandler
B.focusOutHandler
A.focusInHandler
IME.enabled = true
IME.conversionMode = IME.JAPANESE_HIRAGANA
A.focusOutHandler
IME.conversionMode = IME.JAPANESE_HIRAGANA
IME.enabled = false
B.focusInHandler
At the end of this sequence IME.enabled is false and thus the IME mode will be Roman and the user will be unable to change the IME mode from Roman. This behaviour is incorrect.