Git Product home page Git Product logo

Comments (11)

walseb avatar walseb commented on August 20, 2024

Hello!

I'm having a similar issue several times per day. The mouse suddenly stops registering in all EXWM windows and I get the read-only error you describe. It never affects my keyboard, however. I don't use LibreOffice, I mostly use Firefox, Gimp, and Inkscape. I can't reproduce it reliably, and I haven't tried reproducing it with a bare-bones config due to the time it takes for it to happen. The only observation I have made is that it seems to happen most often when a lot of stuff is going on.

As for solving it, a similar trick of clicking on the window a few times worked around 10% of the time for me, the rest of the time I had to restart Emacs to fix it which was very annoying.

Eventually I figured out that if I restart my mouse, the issue is fixed without having to restart Emacs. So now, I simply run this whenever the problem occurs: sudo modprobe -r psmouse; sudo modprobe psmouse;, and it resolves the issue every time.

It even fixes some of the jankiness with my touchpad sometimes (When using my touchpad, the cursor randomly gets a very low refresh rate which persists for hours usually).

Maybe you could try that with the keyboard instead of the mouse? Hope this helps!

Also, it would be interesting to know if anyone else is experiencing something similar to this. I thought I was the only one with issues like this, perhaps caused by some obscure X11 bug relating to my specific laptop GPU. I'm on a ThinkPad 480, using the built-in IGPU. It never happened in the years that I used my desktop PC.

from exwm.

jaor avatar jaor commented on August 20, 2024

from exwm.

walseb avatar walseb commented on August 20, 2024

I see, so you can't even use your keyboard in Emacs buffers after the issue occurs? For me only X buffers were affected. Maybe you could bind the click action of an icon in your mode line to trigger that code. An emergency button. :)

from exwm.

walseb avatar walseb commented on August 20, 2024

I have had the same issue with some version of Emacs 28, Emacs 29.2, and I'm currently running the latest Emacs 30.0.50. I have tried both GTK 3 and Lucid, both with the same results. It all begun after I started using my T480, so my issue is probably hardware related to some degree.

from exwm.

jaor avatar jaor commented on August 20, 2024

from exwm.

walseb avatar walseb commented on August 20, 2024

It's great that you solved it! What package is it in case I run into it? Maybe this should be closed then as it's not an issue with exwm.

from exwm.

jaor avatar jaor commented on August 20, 2024

@walseb it's some elisp code of my own that i haven't published in any elpa, so you're safe unless you follow my emacs config repo :)

closing!

from exwm.

Stebalien avatar Stebalien commented on August 20, 2024

@walseb can you open a new issue so we can debug?

from exwm.

walseb avatar walseb commented on August 20, 2024

@walseb can you open a new issue so we can debug?

Hello!

Thanks for your patience.

Do you think that would be useful? I don't have any means of reproducing it, so I'm not really sure it would be actionable in any way. But perhaps someone would have some idea for how to debug it.

What do you think?

from exwm.

Stebalien avatar Stebalien commented on August 20, 2024

I'm not sure, but I'm happy to try to rule it out. E.g., if clicking on Emacs windows (selecting text, etc.) still works but clicking on X windows doesn't, that indicates that it's not a hardware issue. Next, I'd pull up xev to see what the events look like (and xelb-debug will likely be pretty useful as well).

from exwm.

walseb avatar walseb commented on August 20, 2024

Hello! I apologize for the late reply.

Good idea, I will test xev next that next time it locks up.

from exwm.

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.