KeyboardInput
events not being triggered by MacOS native overlays
#13356
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-MacOS
Specific to the MacOS (Apple) desktop operating system
Bevy version
v13.2
Relevant system information
This happens on MacOS Sonoma 14.3 and I've been able to confirm it on other people's machines.
What you did
Running
cargo run --example keyboard_input_events
on Mac shows this issue in action.What went wrong
Triggering a MacOS native UI overlay, such as with
CMD+Shift+4
doesn't release the keys pressed.bevy.mov
In the
winit
repowindow
example, I see the modifier state is being changed when I exit the overlay.winit.mov
Using the
KeyboardInput
system in Bevy, however, I don't see any events being fired for those changes, so in our app the modifier keys remain pressed. I think this may just be Bevy not propagating thewinit
events 🤔 though not sure why just MacOSCMD
seems to be affected.The text was updated successfully, but these errors were encountered: