Enter key treated as character E when Window::prevent_default_event_handling
is false
#7791
Labels
A-Input
Player input via keyboard, mouse, gamepad, and more
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
O-Web
Specific to web (WASM) builds
S-Blocked
This cannot move forward until something else changes
Bevy version
main: 52f0617, a060639
Relevant system information
What you did
Window::prevent_default_event_handling
tofalse
EventReader<ReceivedCharacter>
cargo run --target wasm32-unknown-unknown
https://github.com/bevyengine/bevy/compare/main...johanhelsing:bevy:received-character-e-main?expand=1
What went wrong
Enter gets treated as the character E. We should not get
ReceivedCharacter
events when enter is pressed.Additional information
This is a bug in winit. I've submitted a PR here: rust-windowing/winit#2673
Not really sure if there's anything we could/should do to work around it. Creating an issue mostly to track this, and alert people that this is something already investigated in case it doesn't make it in time for bevy 0.10.
The text was updated successfully, but these errors were encountered: