exwm
exwm copied to clipboard
exwm-workspace-switch-to-buffer loses input focus
Hi, I'm using exwm 0.23 on emacs 26.3 on a debian testing/bulleseye os.
The issue can be reproduced in the following way:
- Bind exwm-workspace-switch-to-buffer to some key let's say "s-b".
- open a regular text file
- open a X-application e.g. firefox.
- switch to char-mode
- press s-b followed by tab to see the completions buffer
- enter first characters of filename and press tab to complete -> focus is lost to X-application in char-mode
Any idea why this happens? Thanks for any hint, Alex
What if you continue by typing the name? The minibuffer may seem to have no focus but it should be able to receive inputs anyway.
No unfortunately it doesnt. If e.g. the X-application is firefox and search field currently has focus, all further characters (after above described procedure) go into firefox's search field.
Could you share your configuration or try a minimal one like in https://github.com/ch11ng/exwm/issues/680#issuecomment-557924333 ? Sounds like there is some conflicting package in use.
I tried to reduce my config to the minimum. The effect is, that die phenomenon becomes nondeterministic and with an empty exwm-config I can't reproduce the behavior at all. The nondeterminism suggests that there is some kind of race condition!? I'll dig further and as soon as I find a minimal setting I'll post it here.
Thanks! Waiting for your update.
same...
same!
any progress?
I learned to live with the problem. I persists in different Linux-distributions, Emacs-versions, etc. If I reduce the init.el
to the absolute minimum the problem is gone but as soon as init.el
becomes a bit more complex the problem is back. I was not able to find which package causes the problems.