Input Method Icons do not reflect the state of Input Method used on the text field in focus

Originator:yryo617
Number:rdar://34158444 Date Originated:August 30 2017, 11:23 AM
Status:Duplicate/31328329 - Closed Resolved:Closed
Product:macOS + SDK Product Version:macOS Sierra 10.12.6 (16G29)
Classification: Reproducible:
 
Area:
Keyboards, mice and trackpads

Summary:
When switching from one Input Method, for example US to Hiragana (Japanese), although the keyboard shortcut seems to be recognised and the icon in the menu bar changes the text inserted in the text field in focus do not reflect the change.

When this occurs, by attempting to type into Spotlight field seems to reset with a bit of a delay enabling the change.

When Hiragana to US fails, yellow highlight appears instead of underlines to indicate it has not been confirmed/converted. When US to Hiragana switch fails, it continues to input the alphabets without any indications of conversion.

Steps to Reproduce:
1. Fill in a text field
2. Attempt to change from one input method to another (US -> Hiragana | Hiragana -> US) using keyboard shortcut (Command+space)
3. Observe that menubar icon indicates the input method is changed 
4. Attempt to type a text into a field

Expected Results:
The behaviour of text input should reflect the input method indicated on the menubar.

Observed Results:
1. The text input does not reflect the input method indicated in the menu bar
2. Trigger spotlight and type a text into field, with a small delay the correct input method is engaged. 

Note: This may happen more if one switches from one application to another.

Version:
macOS Sierra 10.12.6 (16G29)

This has been happening since the previous version.

Notes:


Configuration:
It has occurred in two completely separate clean install macOS systems without any configuration migration. 
Both configured with Hiragana (Japanese) and US input configuration.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!