For some reason one of my workspaces has a contianer(?) with no window attached to it, so that workspace now always has a section that is empty. visible-windows only shows the windows I can see, and state shows the empty container, plus the visible windows. Is there an easy way to fix this. I've tried a few things including restarts of Komorebi and Windows itself.
#Workspace has persistent empty container
1 messages · Page 1 of 1 (latest)
komorebic visible-windows returns this:
{
"AUOD0ED-4&e03fc06&0&UID265988": [
{
"title": "Windows PowerShell",
"exe": "WindowsTerminal.exe",
"class": "CASCADIA_HOSTING_WINDOW_CLASS"
},
{
"title": "Windows PowerShell",
"exe": "WindowsTerminal.exe",
"class": "CASCADIA_HOSTING_WINDOW_CLASS"
}
]
}
komorebic state has this for that workspace:
"containers": {
"elements": [
{
"id": "osoxswTjZJ60_c5Lls_0Q",
"windows": {
"elements": [],
"focused": 0
}
},
{
"id": "QoNbsUnzNJ1ZMMwzglCqC",
"windows": {
"elements": [
{
"hwnd": 657560,
"title": "Windows PowerShell",
"exe": "WindowsTerminal.exe",
"class": "CASCADIA_HOSTING_WINDOW_CLASS",
"rect": {
"left": 1710,
"top": 43,
"right": 1698,
"bottom": 1391
}
}
],
"focused": 0
}
},
{
"id": "Fk41n-ezF4oU-1hHPIU1o",
"windows": {
"elements": [
{
"hwnd": 329512,
"title": "Windows PowerShell",
"exe": "WindowsTerminal.exe",
"class": "CASCADIA_HOSTING_WINDOW_CLASS",
"rect": {
"left": 3414,
"top": 43,
"right": 1698,
"bottom": 1391
}
}
],
"focused": 0
}
}
],
"focused": 1
},
{
"id": "osoxswTjZJ60_c5Lls_0Q",
"windows": {
"elements": [],
"focused": 0
}
},
This is definitely sus, we shouldn't have a situation where we have containers without windows
Can you confirm your version with komorebi.exe --version
Also if you have any steps to reproduce this that would be helpful - I just tried opening up a bunch of Terminal windows on a Columns workspace but couldn't repro
Although I can't reproduce this, this fix should work: https://github.com/LGUG2Z/komorebi/commit/72b30a8a63163ff159ae54ec24fb544e68b61c8e
Though I want to get to the bottom of why an empty container remains in the state in the first place
> komorebi.exe --version
komorebi 0.1.35
tag:v0.1.35
commit_hash:992bc2ab
build_time:2025-03-22 17:41:56 +00:00
build_env:rustc 1.85.1 (4eb161250 2025-03-15),stable-x86_64-pc-windows-msvc
https://github.com/LGUG2Z/komorebi/actions/runs/14319197502 you can grab an MSI installer from here with that change ^
Sure.
It wasn't on a column workspace to begin with. I just used that for the screenshot as it seemed to show the terminals best. This happened after my computer went to sleep/hibernate and I woke it up. I'm not sure what window triggered this. I didn't run state/visible-windows before restarting. And so if they had any info initially I didn't see it.
GG @silver sable, you just advanced to level 1!
Strange, I can honestly say that this is the first time in 5 years that I've seen this
In any case, flushing the workspace of empty containers regularly should fix this issue
Only other info I can give you is that it's on a laptop that I normally keep the lid closed on. So multi-monitor.
I see the list of artifacts for that branch. But I don't see where to download it...
I must need to log in the links on the right are not showing for me.
x86 or arm depending on your CPU architecture
Yeah I think GH only allows logged in users to download artifacts
GOt it. I need to head out for a bit, but will test it when I get back.
🎆 The update removed the empty container.
Great news, I'll add this fix onto the master branch for the next release
Cool. Thanks.