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
{{ message }}
Repository navigation
[BUG] Windows become blank and cannot be closed after rapidly opening multiple windows #128
Title:
[BUG] Windows become blank and cannot be closed after rapidly opening multiple windows
Describe the bug
(SOMETIMES!) When opening multiple windows in rapid succession, they eventually get stuck, fail to close, and remain visible as empty/blank windows. They stay frozen in this state until the Wayland compositor is restarted.
To Reproduce
Steps to reproduce the behavior:
Open many windows or applications in quick succession.
Try to close the opened windows.
Observe that they do not close and display a blank screen.
Note that they remain stuck until restarting the Wayland compositor.
Expected behavior
All windows should open and close normally without freezing or turning blank, regardless of how fast they are opened, and without requiring a compositor restart.
Screenshots
Veshell.Recording.2026-10-13.22-30-34.886.webm
Additional context
The issue seems directly tied to the Wayland compositor, as a full restart of the compositor is the only way to clear the frozen empty windows.
This is actually unrelated but a bug nonetheless.
Form what I can see from the video:
Zen is started first then Firefox in a quick succession.
Firefox open an Application window ans is correctly assigned to the Tile
Zen open not one but two Application windows and the first one is correctly assigned to it's tile but the second is assigned as a Dialog of Firefox.
Then Firefox is closed using the tile close button which close both Firefox Window and the Zen assigned dialog which cascade and also close or impact the other Zen window which is then left in a unresponsive state.
The behavior has improved slightly, but I was still able to reproduce it on the third try.
Maybe we could add an option to force-close the tab via the UI (for example, when holding down the close button
)? I think this is going to be an annoying bug
Just tried to reproduce it again for the recording... It's really tough, no luck so far.
Anyway, the thing is, when you switch tabs quickly, there's a chance you'll be prompted to open the app again. And after launching and switching quickly — again and again. At some point, the bug happens again
Activity
fix(window): show launch logs for ephemeral windows and stop them get…
samukhin commentedon Oct 13, 2026
Updated, and now it is harder to reproduce. However, I was able to replicate it by opening and closing Firefox repeatedly
samukhin commentedon Oct 13, 2026
The error occurs 100% of the time if you quickly open Firefox and Zen Browser simultaneously.
samukhin commentedon Oct 13, 2026
2026-10-14-02-30-19.webm
PapyElGringo commentedon Oct 14, 2026
This is actually unrelated but a bug nonetheless.
Form what I can see from the video:
fix(window): only record activatedBy from the declared opener (#137)
fix(window): widen the launch-burst settle debounce to 150 ms (#138)
PapyElGringo commentedon Oct 14, 2026
Ok you can try latest commit
samukhin commentedon Oct 14, 2026
The behavior has improved slightly, but I was still able to reproduce it on the third try.
Maybe we could add an option to force-close the tab via the UI (for example, when holding down the close button
)? I think this is going to be an annoying bug
samukhin commentedon Oct 14, 2026
Just tried to reproduce it again for the recording... It's really tough, no luck so far.
Anyway, the thing is, when you switch tabs quickly, there's a chance you'll be prompted to open the app again. And after launching and switching quickly — again and again. At some point, the bug happens again
samukhin commentedon Oct 14, 2026
Unfortunately, I didn't have the patience to finish this video. But it does show what "open the app again" means.
2026-10-14.16-12-32.mp4
samukhin commentedon Oct 14, 2026
RUST_LOG=warn,veshell=debug,smithay=debug RUST_BACKTRACE=1 veshell &>> veshell.log
veshell.log.zip
fix(window): cancel platform-event subscriptions on provider dispose (#…
samukhin commentedon Oct 14, 2026
RUST_LOG=warn,veshell=debug,smithay=debug RUST_BACKTRACE=1 cargo run &>> veshell.log
veshell.log (2).txt
samukhin commentedon Oct 14, 2026
NO!
samukhin commentedon Oct 14, 2026
veshell.log (3).txt
samukhin commentedon Oct 15, 2026
2026-10-15.02-56-27.webm
fix(window): tolerate a tile whose meta window is already gone (#150)