User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Build Identifier: Firefox 4.0.1
When you are inputting Flash Text for Firefox 4. If you change the IME input from one type to the next, the characters entered previously disappeared.
Steps to Reproduce:
1. Open TextArea-3.swf that is simple swf that contains the flash text field on Firefox4 64 bit.
2. Focus the text field.
3. Select Japanese Hiragana IME.
4. Type Japanese Hiragana Characters such as [aaaaa] "あああああ"
5. Change the Input Mode to Japanese Katakana IME.
The complex input window with typed characters "あああああ" disappears.
In general, if it was the same IME, even if the conversion mode ( such as Hiragana to Katakana ) was changed, the complex input window keeps displaying. user can continue inputting characters from IME.
In the Firefox4 code at:
It cancel the IME inputs when input mode was changed in this code :
- (void)keyboardInputSourceChanged:(NSNotification *)notification
Why did you write it? Is there a problem?
I don't remember why I wrote it that way.
Okay, I'll write a patch which can switch the behavior by pref. If it doesn't have problem in next a couple of months, we should remove it.
Created attachment 531257 [details] [diff] [review]
Comment on attachment 531257 [details] [diff] [review]
This looks fine to me.
I verified that the patch fixes the issue on the nightly build. Thank you for the fix.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20100101 Firefox/6.0 - beta 2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0a1) Gecko/20110720 Firefox/8.0a1
Verified issue using steps from Comment 0, on both 6.0b2 and 8.0a1. Setting status to Verified Fixed.