-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Aerospace accumulates Ghost Windows over time #570
Comments
Same problem here. These ghost windows are also occupy space. I'm openning new window of Zed (cmd-shift-n), closing it (cmd-shift-w). The new window closes but windows on monitor are not rearranged, so I have some free space without any window |
@aohoyd This may not make a difference, but if you try mapping the |
@ParisTheProgrammer I'm openning 3 windows:
Now close first empty project with
And close the second empty project with cmd+shift+w:
As you can see a title is gone, but the window is not removed by some reason. I reproduced it for vscode, orion browser and obsidian. I tried to get |
Same problem was described in #321 |
Same problem here with various applications. Restarting Aerospace was the only way to get rid of them. |
If I disable the |
For me, it only takes a few minutes for this to happen with my normal workflow. Changing the Safari profile makes a ghost window as does pretty much any use of Finder. |
I stand corrected, disabling the on-window-detected does not actually fix this, it's still happenning. |
It seems very reproducable for me. If I compose an email with Mail, it creates a window to compose the email. Then, when the mail is sent, the compose window is removed, but the ghost window remains. It looks like any window that is closed without using aerospace close is retained by aerospace for layout:
|
I switched off everything in Settings > Login Items & Extensions and rebooted and since then I've not seen a reoccurence. I'm not sure yet what was causing my problem, I'll need to switch things on one at a time until the problem reoccurs to find out. Perhaps this will be of help to others with similar problems. |
It's also happening to me. ❯ aerospace list-windows --workspace visible --format '{ "title": "%{app-name}", "subtitle": "%{window-title}", "windowId": "%{window-id}", "appPid": "%{app-pid}", "workspace": "%{workspace}, "bundleId": "%{app-bundle-id}"}'
{ "title": "Alacritty", "subtitle": "👨🏻💻", "windowId": "10761", "appPid": "709", "workspace": "M, "bundleId": "org.alacritty"}
{ "title": "Arc", "subtitle": "Aerospace accumulates Ghost Windows over time · Issue #570 · nikitabobko/AeroSpace", "windowId": "6281", "appPid": "76210", "workspace": "M, "bundleId": "company.thebrowser.Browser"}
{ "title": "Finder", "subtitle": "Cults - Flexi Spider", "windowId": "7809", "appPid": "731", "workspace": "M, "bundleId": "com.apple.finder"}
{ "title": "OrcaSlicer", "subtitle": "", "windowId": "8317", "appPid": "6407", "workspace": "M, "bundleId": "com.softfever3d.orca-slicer"}
{ "title": "OrcaSlicer", "subtitle": "", "windowId": "8351", "appPid": "6407", "workspace": "M, "bundleId": "com.softfever3d.orca-slicer"}
{ "title": "OrcaSlicer", "subtitle": "", "windowId": "8397", "appPid": "6407", "workspace": "M, "bundleId": "com.softfever3d.orca-slicer"}
{ "title": "Telegram", "subtitle": "Telegram", "windowId": "68", "appPid": "704", "workspace": "M, "bundleId": "ru.keepcoder.Telegram"}
{ "title": "WhatsApp", "subtitle": "WhatsApp", "windowId": "53", "appPid": "714", "workspace": "M, "bundleId": "net.whatsapp.WhatsApp"} it shows as you can see. |
The bug appeared in Sequoia. In Sequoia, some apps may interfere with AeroSpace, known apps: contexts app, Amazon Q Tracking issue: #445 |
FYI, I'm not in sequoia |
Aerospace gets these ghost windows that mess up it's window sizing / layout from time to time. I am on Macbook Pro with OSX version Sonoma 14.5 having a M1 Pro.
As you can see above, I have only 1 window of Emacs, however aerospace has accumulated a ton of these, and these always mess up the layout. The only solution I have found is to kill and restart Aerospace after which it is fine, but over time it seems to end up in a similar situation.
Here's my configuration :
Checklist
The text was updated successfully, but these errors were encountered: