Missing ModifiersChanged
events on macOS
#1396
Labels
B - bug
Dang, that shouldn't have happened
C - needs investigation
Issue must be confirmed and researched
DS - macos
It seems like on macOS, not all modifier changes cause a
ModifiersChanged
event, regardless of focus. This has been initially reported to Alacritty in alacritty/alacritty#3206.Looking at the output of the event log, there seems to be a key event with
modifiers: LOGO
attached, without any priorModifiersChanged
event. The Window is in full focus at this point and has not had any modifier or focus changes since then.The following log contains only the relevant information, full log can be found in the issue. It has been filtered using
grep -E ".*event: (KeyboardInput|ReceivedCharacter|Focused|(DeviceEvent.*ModifiersChanged))"
.There are no synthetic events sent, so that shouldn't be an issue either (they're not implemented on macOS anyways afaik). What surprised me a bit was that there were only two DeviceEvents, since I'm used to a lot more on Linux, but that might be normal.
The text was updated successfully, but these errors were encountered: