Created attachment 726000 [details] [diff] [review] Patch MetroWidget doesn't implemented nsIWidget::GetIMEUpdatePreference(). This causes nsIMEStateManager doesn't create nsTextStateManager. Then, neither NotifyIME(NOTIFICATION_OF_FOCUS), NotifyIME(NOTIFICATION_OF_BLUR), NotifyIME(NOTIFICATION_OF_SELECTIONCHANGE) nor NotifyIME(NOTIFICATION_OF_FOCUS) is called. By this bug, nsTextStore never resets cached selection. Therefore, for example, if you try to input "Metro" without TIP and "アプリ" with TIP, then, the "ア" is inserted before "M" because nsTextStore thinks the caret position still stays before "M". The behavior may be a regression of bug 790516.
Attachment #726000 - Flags: review?(jmathies)
Thank you for your quick review! https://hg.mozilla.org/integration/mozilla-inbound/rev/5e115ca28105
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.