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
Focus doesn't return after running dmenu (X11/i3) #3710
Comments
nice, that's the other issue I've seen on X11 somewhere in alacritty, but I was never able to repro it and gather logs myself, since I'm not using X11, thx for reporting. |
upstream issue rust-windowing/winit#1565 |
I'm not sure I can reproduce (Arch Linux, x11, openbox, alacritty 0.4.2). When I press |
It's pretty random to repro it IIRC, like it could happen sometimes. |
can confirm this bug I would like to add that this cause copy/paste to no longer work within alacritty. |
I believe this was caused by a bug in dmenu 4.9 and has been fixed for a long time now. |
Thanks for letting me know. Closing. If someone can still reproduce, let me know. |
Noticed while testing #3709: Running
dmenu
from within Alacritty doesn't return focus correctly. That is, Alacritty does have keyboard focus afterdmenu
exits, but it thinks it doesn't (renders a hollow cursor).System
alacritty --version
:alacritty 0.4.2
, but reproduces also onalacritty 0.5.0-dev (2c2104a)
(current master)dmenu -v
:dmenu-4.9
Platform: Arch Linux, X11, i3
Logs
From
alacritty --persistent-logging --print-events -e sh -c "echo foo | dmenu; sleep 2"
on 0.4.2:Here I waited about a second before pressing enter on
dmenu
, causing it to print "foo" to stdout and exit. At that point Alacritty should receive focus, but doesn't. Seems that glutin is not sendingFocused(true)
for some reason.This doesn't seem to happen with other programs than
dmenu
, so I guess it's something special to do with the waydmenu
draws on top of other windows. However it also happens only with Alacritty and not (at least)xterm
orst
.The text was updated successfully, but these errors were encountered: