-
Notifications
You must be signed in to change notification settings - Fork 404
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
[bug] i3lock doesn't seem to register the first couple of keypresses of password #354
Comments
Are you sure your laptop registers the key presses? For example, try to
temporarily disable locking on suspend and have a terminal open. Close the
lid and then open it after a while and immediately start typing. Does
everything get registered?
…On Fri, 19 Apr 2024, 16:03 ShadowStar019, ***@***.***> wrote:
I'm submitting a…
[x] Bug
[ ] Feature Request
[ ] Other (Please describe in detail)
Current Behavior
Sometimes, i3lock seems to skip the first couple of keypresses of my
password after I close my laptop lid, wait an extended period of time (10 -
40 min), and then open my laptop lid. The green circle animation doesn't
appear until after I make about 1-3 keypresses, and password verification
fails.
Expected Behavior
Keypresses would register immediately when I start typing, the green
circle animation would appear at the first keypress, and password
verification would succeed if I type my password correctly.
Reproduction Instructions
1. Run i3lock from the terminal
2. Close laptop lid
3. Wait 10 - 40 min
4. Open laptop lid
5. Try typing in password
Environment
Output of i3lock --version:
i3lock: version 2.14.1 © 2010 Michael Stapelberg
i3 config: None; I just type i3lock in the terminal and hit enter every
time I want to lock my laptop
System: Arch Linux x86_64
—
Reply to this email directly, view it on GitHub
<#354>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMCZPRQL6TPCUUBABZOVALY6EP4TAVCNFSM6AAAAABGPIAKYKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TGMJQGY4TONQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Everything gets registered in the terminal after closing, waiting and opening the laptop lid. |
Can you try the following:
Once i3lock enters its event loop, it’s up to X11 to deliver keypress events. If there are delays, that usually means something else is happening on the X11 level (e.g. monitor re-detection / configuration), but even so, keypresses should never get lost. Also run i3lock --debug (but be sure to redact your password from the output), perhaps that gives us a hint as to what might be happening. |
Oh, and also, can you try if slock (https://tools.suckless.org/slock/) or xsecurelock (https://github.com/google/xsecurelock) exhibit the same problem on your machine? |
For some reason, I couldn't reproduce the issue since the last comment. I regularly update and install pacman packages, so it could have been a buggy package related to the keyboard input or laptop lid. Now, no keypresses are lost / delayed and everything works as expected. |
Thank you for letting us know. I'll close this until something newer comes up. |
I'm submitting a…
Current Behavior
Sometimes, i3lock seems to skip the first couple of keypresses of my password after I close my laptop lid, wait an extended period of time (10 - 40 min), and then open my laptop lid. The green circle animation doesn't appear until after I make about 1-3 keypresses, and password verification fails.
Expected Behavior
Keypresses would register immediately when I start typing, the green circle animation would appear at the first keypress, and password verification would succeed if I type my password correctly.
Reproduction Instructions
Environment
Output of
i3lock --version
:i3 config: None; I just type
i3lock
in the terminal and hit enter every time I want to lock my laptopSystem: Arch Linux x86_64
The text was updated successfully, but these errors were encountered: