You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am unable to reliably reproduce this, but occasionally, window-prev-buffers returns a killed buffer. Then, when EXWM tries to switch to it, it gives an error, and workspace switching locks up.
I get a similar error which might be related. It occurs in the same function that you edited if I recall correctly. Some EXWM timer errors that it tried to select a killed buffer. I will post the backtrace here next time I see it.
It locks up Emacs for me too but I'm usually able to make it stop by removing all EXWM buffers from the screen and then letting the code continue by closing the backtrace buffer.
open up another X window B in the same window, in the same workspace
switch to another workspace
switch to buffer B
delete buffer B
switch back to the original workspace
If you check window-prev-buffers, the killed buffer should be in there, and you should get the error.
Also, I suspect that window-prev-buffers is never supposed to have a killed buffer in it (from testing the above with normal buffers instead of X windows), so this may be a deeper issue inside EXWM.
I got the error message again today. It was triggered when a game on Steam tried to launch a bunch of windows. It seems to have been triggered by my timer initially, or it's unrelated. I was in several recursive edits at the time, so I cut those out of the backtrace:
The reason will be displayed to describe this comment to others. Learn more.
I actually have this fix locally, I just haven't gotten around to pushing it. This is small enough it probably doesn't require any form of copyright assignment (it's also identical to my fix so it's "not creative").
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I am unable to reliably reproduce this, but occasionally,
window-prev-buffers
returns a killed buffer. Then, when EXWM tries to switch to it, it gives an error, and workspace switching locks up.