Comments (11)
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.
from exwm.
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.
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.
from exwm.
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.
@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.
@walseb can you open a new issue so we can debug?
from exwm.
@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.
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.
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)
- improve debugging HOT 2
- Make minor-modes idempotent
- Fullscreen windows can hide minibuffer
- Transfer open issues from previous github issue tracker HOT 4
- Follow up on FSF copyright assignment for open pull request HOT 1
- Add exwm-minor-mode HOT 14
- exwm-workspace vs tab-bar-mode HOT 6
- Deprecate exwm-config HOT 1
- wrong-type-argument listp rect HOT 5
- Handle startup-notifications
- exwm-layout-toggle-fullscreen does not work unless called interactively
- grab emacs frame with OBS
- Floating Emacs buffers
- Corfu, posframe, and child frames HOT 1
- Notification server? HOT 3
- Can the buffer listing of exwm-workspace-switch-to-buffer be extended to include the workspace?
- Support highlight bordor color of the focused floating window
- Warning (emacs): [EXWM] EXWM fails to start (void-function: (length<)) HOT 1
- New release 0.31 HOT 2
- `exwm-workspace--update-workareas` Wrong type argument HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exwm.