Giter VIP home page Giter VIP logo

Comments (6)

orestisfl avatar orestisfl commented on August 18, 2024

from i3lock.

ShadowStar019 avatar ShadowStar019 commented on August 18, 2024

Everything gets registered in the terminal after closing, waiting and opening the laptop lid.
One thing I noticed when i3lock misses keypresses is that on the first registered keypress, all of the arcs from the missed keypresses appear in rapid succession before the arc from the first registered keypress. For example, when the first registered keypress is the third keypress made, three green arcs appear in rapid succession around the center circle.

from i3lock.

stapelberg avatar stapelberg commented on August 18, 2024

Can you try the following:

  1. Start i3lock from terminal as usual.
  2. Enter a few key presses to make sure i3lock has fully started and is processing key presses
  3. Then close the lid, re-open, check if key presses are lost / delayed

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.

from i3lock.

stapelberg avatar stapelberg commented on August 18, 2024

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?

from i3lock.

ShadowStar019 avatar ShadowStar019 commented on August 18, 2024

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.
I tested slock on my machine and it works perfectly fine.

from i3lock.

orestisfl avatar orestisfl commented on August 18, 2024

Thank you for letting us know. I'll close this until something newer comes up.

from i3lock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.