Skip to content
New issue

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

i3 shortcuts interpreted as search commands when switching workspaces #88

Open
Sinono3 opened this issue Jan 24, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Sinono3
Copy link

Sinono3 commented Jan 24, 2024

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:

  1. Open Festival in i3 WM and leave it as the only window in a workspace.
  2. Go to another workspace.
  3. Go back to the workspace where Festival is using a shortcut such as Super+9.

Screenshots

2024-01-23-212805_1920x1080_scrot

@Sinono3 Sinono3 added the bug Something isn't working label Jan 24, 2024
@Sinono3
Copy link
Author

Sinono3 commented Jan 24, 2024

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 KeyboardEvents that are synthetic solve this problem. I'll open a PR. Modified the egui-winit crate though.

@Sinono3 Sinono3 changed the title Sway/i3 shortcuts interpreted as search commands when switching workspaces i3 shortcuts interpreted as search commands when switching workspaces Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant