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

keyboard hangs, window otherwise works #7734

Open
grinapo opened this issue Feb 15, 2024 · 4 comments
Open

keyboard hangs, window otherwise works #7734

grinapo opened this issue Feb 15, 2024 · 4 comments
Labels

Comments

@grinapo
Copy link

grinapo commented Feb 15, 2024

Problem description

I have recently learned about create-window since I started using alacritty seriously and quickly hit the too many windows error. So there's an old process with about 20 windows open.

After a longer while keyboard in all of the windows of the said process stop responding. No keyboard input is processed.

The windows otherwise work: they do process mouse input, resize, and I can do a new create-window with any process not requiring keyboard input.

I do not see anything obviously wrong in strace, but granted: stracing multithread rust isn't very human eye friendly. I do no have a log file, I will try to generate one the next time, but I cannot foretell when will it get stuck again. I believe this is not strictly related to having multiple windows, I kind of remember this happening with single windows as well in the past, but I wasn't focusing on that back then.

Unfortunately this means that I have to kill all of the windows opened by this process, which is, to say, extremely inconvenient. Life of a tester. :-)

System

OS: Linux Debian/Sid,
Version: alacritty 0.13.0-dev (2df8f86)
Linux: X11/xfce4

@kchibisov
Copy link
Member

kchibisov commented Feb 15, 2024

If you re press all keyboard modifiers is it fixing itself (Super/Control/Alt, etc)?

@grinapo
Copy link
Author

grinapo commented Feb 15, 2024

No, nothing.
I keep them open in case anyone want to try some magic on them. :-)

@L-Trump
Copy link

L-Trump commented Apr 2, 2024

I'm experiencing the same issue which came up in the last couple of version updates. Occasionally, all windows in the same process fail to respond to keyboard input, but mouse clicks work fine (I tried this in neovim). I have to kill all windows of the same alacritty process to resume it.

@kchibisov
Copy link
Member

The recent keyboard issue is likely due to libX11 breaking it, downgrading it to 1.8.7 should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants