We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The KeyDown event isn't raised for dead key presses in macOS, but the KeyUp event is.
KeyDown
KeyUp
To Reproduce Press then release a dead key, for example ^ on an AZERTY keyboard.
^
Expected behavior Both KeyDown and KeyUp events are raised.
Additional context macOS Ventura
The dead key press results in setMarkedText being called, marking the key as handled, preventing the event for being triggered: https://github.com/AvaloniaUI/Avalonia/blob/655f199647c36b16cad24d68b14f38380c70c8ed/native/Avalonia.Native/src/OSX/AvnView.mm#L602C5-L602C21 (introduced by #11021)
setMarkedText
The text was updated successfully, but these errors were encountered:
I think we can add an additional check for that flag. We only need to set if if marked text actually has any content and content has changed
Sorry, something went wrong.
Fixed by #12560
No branches or pull requests
Describe the bug
The
KeyDown
event isn't raised for dead key presses in macOS, but theKeyUp
event is.To Reproduce
Press then release a dead key, for example
^
on an AZERTY keyboard.Expected behavior
Both
KeyDown
andKeyUp
events are raised.Additional context
macOS Ventura
The dead key press results in
setMarkedText
being called, marking the key as handled, preventing the event for being triggered: https://github.com/AvaloniaUI/Avalonia/blob/655f199647c36b16cad24d68b14f38380c70c8ed/native/Avalonia.Native/src/OSX/AvnView.mm#L602C5-L602C21 (introduced by #11021)The text was updated successfully, but these errors were encountered: