statusbar: Restoring terminals waits full budget when inactive tabs do not mount · Issue #377 · silo-code/silo · GitHub
Skip to content

statusbar: Restoring terminals waits full budget when inactive tabs do not mount #377

Open

Description

@davideweaver

Summary

From PR #368 review (item 5): WorkspaceDock passes terminalsExpected = count(terminals with sessionId) into markStartupLayoutReady, but dockview’s default onlyWhenVisible means only the active panel per group mounts. Inactive terminal tabs never run TerminalPanel.init(), so restore begin/end counters never reach expected and the StatusBar sits on “Restoring terminals…” until STARTUP_TERMINALS_BUDGET_MS (~10 s).

Repro

Any workspace with 2+ terminals stacked in one group on cold start.

Expected direction

Count only panels that will actually mount on layout restore, or drive the expected count from real mounts / attach starts rather than the full terminal list.

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions