Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? No
Problem description:
The ImeOn and ImeOff keys on the Microsoft Japanese JIS keyboard are disabled on the TextBox control.
This issue occurs when the Japanese IME setting is in compatibility mode. It does not occur if compatibility mode is off.
In normal text input (for example, Notepad), the ImeOn key and ImeOff key work regardless of whether the compatibility mode is ON or OFF.
Actual behavior:
The ImeOn and ImeOff keys do not work on the TextBox control when the Microsoft Japanese IME setting is in compatibility mode.
Expected behavior:
For normal text input, regardless of compatibility mode, pressing the Ime On key enables Japanese input, and pressing the Ime Off key enables English input.
The input to the Textbox control is expected to be the same.
Minimal repro:
If the Japanese language pack is not installed, install it from Language & region in the Windows settings.
Set the Microsoft Japanese IME setting to compatibility mode.
In Windows settings, go to Time & Language> Language & Region Settings.
Click the ... mark to the right of Japanese language to open language options.
Click the ... mark to the right of Microsoft IME to open keyboard options.
Open the General settings and turn on the "Use previous version of Microsoft IME" setting from the Compatibility item.
Set the input mode to Microsoft Japanese IME.
Create an app that contains a Textbox control and press the ImeOn or ImeOff key on the Textbox. Pressing the Ime On key or Ime Off key does not switch the input mode.
When Microsoft Japanese IME is in compatibility mode, pressing the Ime On key or Ime Off key does not switch the input mode. When compatibility mode is OFF, pressing the Ime On key enables Japanese input, and pressing the Ime Off key enables English input.
Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? No
Problem description: The ImeOn and ImeOff keys on the Microsoft Japanese JIS keyboard are disabled on the TextBox control. This issue occurs when the Japanese IME setting is in compatibility mode. It does not occur if compatibility mode is off. In normal text input (for example, Notepad), the ImeOn key and ImeOff key work regardless of whether the compatibility mode is ON or OFF.
The ImeOn and ImeOff keys are relatively new features added in Windows 10 Verrsion 1903. https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/keyboard-japan-ime
Actual behavior: The ImeOn and ImeOff keys do not work on the TextBox control when the Microsoft Japanese IME setting is in compatibility mode.
Expected behavior: For normal text input, regardless of compatibility mode, pressing the Ime On key enables Japanese input, and pressing the Ime Off key enables English input. The input to the Textbox control is expected to be the same.
Minimal repro: