-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Describe the bug
On macOS, when the IME is set to Korean and InputMethod.IsInputMethodEnabled="False" (IME disabled), special-character input reports KeySymbol values as if Shift is not pressed.
| input key | KeyEventArgs.KeySymbol | expected key | desc |
|---|---|---|---|
| Shift + Key.OemTilde | ` | ~ | |
| Shift + Key.D1 | 1 | ! | |
| Shift + Key.D2 | 2 | @ | |
| Shift + Key.D3 | 3 | # | |
| Shift + Key.D4 | 4 | $ | |
| Shift + Key.D5 | 5 | % | |
| Shift + Key.D6 | 6 | ^ | |
| Shift + Key.D7 | 7 | & | |
| Shift + Key.D8 | 8 | * | |
| Shift + Key.D9 | 9 | ( | |
| Shift + Key.D0 | 0 | ) | |
| Shift + Key.OemMinus | - | _ | |
| Shift + Key.OemPlus | -(not =) | + | When pressing the '=' key, Key.OemPlus is expected, but Key.OemMinus is reported instead. |
| Shift + Key.OemOpenBrackets | [ | { | |
| Shift + Key.OemCloseBrackets | ] | } | |
| Shift + Key.OemPipe | \ | | | |
| Shift + Key.OemSemicolon | ; | : | |
| Shift + Key.OemQuotes | ' | " | |
| Shift + Key.OemComma | , | < | |
| Shift + Key.OemPeriod | . | > | |
| Shift + Key.OemQuestion | / | ? |
To Reproduce
On macOS, Create an Avalonia TextBox, run the app with InputMethod.IsInputMethodEnabled="False" (IME disabled), keep the IME set to Korean, and then type special characters.
Expected behavior
- special-character input reports KeySymbol values as if Shift is not pressed.
- Pressing Key.OemPlus results in Key.OemMinus being detected.
Avalonia version
11.3.8
OS
macOS
Additional context
No response