-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
No key repetition on sway 1.0-alpha.1 (Wayland) #1257
Comments
Note: see rust-windowing/winit#371 |
This has also been mentioned in #97 but I don't see a problem with having a specific issue for it. |
@emersion checking winit slipped my mind, thanks for the information. |
A bit off topic: I am also running alacritty under sway 1.0 now. Do you also have a grey border around the window and a green, yellow and red square at the top right corner? If not, how did you get rid of it? |
I don't think it's possible to get rid of it yet. It's kind of hardcoded in wayland-window. |
Indeed, alacritty can specifically ask winit to not draw the borders (using |
Key repetition it's the main blocker for me to switch to sway, alacritty for everyday usage. |
Same here, hope this gets resolved ASAP |
It has just been resolved in |
I tried alacritty https://github.com/mkeeler/alacritty/tree/glutin-0.17-upgrade |
@darkanthey I tried the fork you mentioned, as well as the version with gluting 0.18, and the issue persists with both for me. |
@Fierthraix mm, that’s strange. I can’t really think what would cause this to only happen on only some devices as the only compositor specific behaviour is the delay and rate of the key repeats. What compositor are you using? |
FWIW, building from the glutin-0.17 branch mentioned above solved the issue for me: #1565 |
I'm having this happen with Sway (the Wayland Window Manager), and I'm all for diving into the code if need be. Also, I've realized I don't actually press and hold keys that much 🤔 I would like this fixed, however, so are there any actions I could take to speed this up? I would be happy to come up with a PR if we know where the problem resides (I gather it's because we need to update the |
@kenan-rhoton this as been fixed upstream in rust-windowing/winit#628, and this issue should be resolved once #1403 is merged. Unless you already tried with this branch and the issue persists? |
I actually misread the comments about it, it solves it for me, what is blocking the merge? |
There was an upstream issue with winit/glutin which is currently blocking the PR. Once that is resolved it should be fairly quick until it can be merged. All of that can be read in #1403 in more detail. |
+1 |
Which operating system does the issue occur on?
Gentoo Linux
If on linux, are you using X11 or Wayland?
Wayland
Hey there, I'm testing out sway's
1.0-alpha.1
release (first release based on wlroots) and it works quite well. Alacritty does start now too (its Wayland backend didn't work with sway0.15
). That being said, key repetition (holding down a key and repeating the key stroke) doesn't work which makes it barely usable without going mad (navigating files invim
is especially painful).I'm not sure what information should be provided to dig into this issue. Running
alacritty --print-events
gives me these events when pressing and releasing the keyx
:To me it looks like glutin correctly recognizes key pressing and releasing. Is this an issue with glutin or Alacritty?
The text was updated successfully, but these errors were encountered: