-
Notifications
You must be signed in to change notification settings - Fork 88
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
Invisible window tiled after closing discord #223
Comments
If you are up for trying this out with the new 0.3 API that's on develop I'd appreciate knowing how it now behaves 🙂 There are some helper actions you can run to dump additional state into the log file which should help with tracking down what's going on if it's still misbehaving |
My main guess is that the window is minimized, in some way. Might not be that, but I just tested minimizing a window and it also became an invisible window. I also have been experiencing picom (compositor) appearing as an invisible window too. |
Is that using the new 0.3 release? |
I believe it is (I'm kinda lost at the moment) - here's penrose entries on
|
Ok that definitely looks like it's running the new code, which is surprising because I use picom myself and don't have an issue with it. I raised #244 the other day around the behaviour when penrose is restarted in a persitant session and in that case I do see picom getting tiled as an invisible window. Are you able to provide a link to your |
Sure! Here it is: https://github.com/YohananDiamond/pencil |
I can't see anything in your set up that would lead to picom becoming tiled 😕 Even if I pkill it and start it while Penrose is running it's correctly ignored and I get the compositing without anything becoming tiled. Are you able to try setting up logging for me and running it at trace level when this behaviour happens? I think I need to see the event handler logs for this to work out what's going on as I'm not able to reproduce it |
Here: https://gist.github.com/YohananDiamond/bb15a3dc67f5834fb3404a1e0716a47f Also, one thing I noticed - the first time I opened penrose today, the problem didn't happen with picom, though there was still an invisible window. I also noticed |
Ah ok, there's this in your logfile: https://gist.github.com/YohananDiamond/bb15a3dc67f5834fb3404a1e0716a47f#file-penrose-error-log-20221114-01-txt-L6-L8 That's the logic I mention in #244 that I know is currently not doing the right thing 😞 If you move whatever startup script you have to be triggered using the SpawnOnStartup hook that should fix it? Though obviously that's a workaround rather than a full fix! |
Thanks! That seems to have fixed it, and it's not really much of an issue, so no problem keeping that for now! Also, a suggestion: maybe the change the type of the Here's the code (I rewrote |
Describe the bug
After closing a discord window, tiling behaves as if there's still a window, though its invisible.
The invisible window can be cycled to, gets a border, and makes my bar (default polybar) say "Discord" when I hover it.
Killing all discord processes makes this "invisible window" go away.
Not killing discord (for notifications and the like) would be preferable.
EDIT: This happens for any window that you close without killing the process. In summary, a window is tiled until its backing process dies (I think).
To Reproduce
Steps to reproduce the behavior:
side_stack
layoutExpected behavior
No invisible window messing with the tiling.
Screenshots
Before closing discord window
After closing discord window
After running
pkill Discord
Versions & OS Details
Additional context
My .xinitrc (please note that I have
dash
symlinked to/bin/sh
- still POSIX compliant tho)Output of
cat /tmp/penrose.log
:The text was updated successfully, but these errors were encountered: