i3 shortcuts interpreted as search commands when switching workspaces
Opened this issue · 1 comments
Sinono3 commented
OS & Version
Festival v1.3.3
Linux x64
Collection v3
Audio v0
Playlist v0
State v1
Settings v2
512dc7b
Bug
When switching to a workspace containing Festival in i3 using a shortcut such as Super+Key, the "Key" is written to the search. For example Super+0 writes 0 to the search bar.
Steps
Steps to reproduce the behavior:
- Open Festival in i3 WM and leave it as the only window in a workspace.
- Go to another workspace.
- Go back to the workspace where Festival is using a shortcut such as Super+9.
Screenshots
Sinono3 commented
Perhaps it has to do with synthetic keypresses in Winit. Similar issue in Alacritty: alacritty/alacritty@fa06178
EDIT: After some testing it seems quite literally discarding KeyboardEvent
s that are synthetic solve this problem. I'll open a PR. Modified the egui-winit crate though.