Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows kept getting lost #123

Open
xpusostomos opened this issue Mar 18, 2025 · 1 comment
Open

Windows kept getting lost #123

xpusostomos opened this issue Mar 18, 2025 · 1 comment

Comments

@xpusostomos
Copy link

For quite a while now, I've noticed that windows keep getting lost. By lost, I mean that I can see they're still running in "ps", but they don't appear in the buffer list, so there's no way to get them back. The one I noticed this morning is jetbrains toolbox, which is an app you generally run all the time, so it's very noticeable when it disappears. But it doesn't happen all the time, so it's hard to say too much specific about it. But I also seem to see it a lot in firefox. The only things I can think of those 2 apps have in common is that they are both apps where launching the program doesn't necessarily start a new process. Toolbox will take you to an existing one if it exists. Firefox, I believe, contacts an existing instance to launch the new URL. That may be irrelevant, just thought I'd point that out.

The only other interesting thing in my setup is I have an external monitor which gets switched off, so when that happens exwm will do whatever it does when one of its monitors disappears.

Maybe other people can give their experience on whether they see this happen.

I don't know how X11 works as far as, if the WM loses track of a window if it can recover it, but if so, it would be good if there was some function you could call to do that.

Oh yeah, I think I only have 2 workspaces, because if I try exwm-workspace-move-window, it only gives the option of 0 or 1, and I can't see it in the buffer list of either monitor, so I don't think it is lost to some other workspace.

If anyone has any suggestions on what elisp to run to see if it is hanging around somewhere in the exwm internals, let me know.

@xpusostomos
Copy link
Author

I notice that even when the window is lost, rofi knows about it. So let's say a browser window is lost, I can activate rofi, and it lists it there, and I can pop it up again. However even after getting it back then, the buffer list still doesn't know about, it remains lost. This seems like a really really major issue, has nobody else seen it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant