orca icon indicating copy to clipboard operation
orca copied to clipboard

[Feature]: "Hide sleeping" should never hide a workspace that still has an open session

Open minho-pinta-sh opened this issue 5 months ago • 1 comments

Problem or use case

The Hide sleeping sidebar filter is supposed to hide workspaces with no open session, but it hides workspaces that still have an open session (an open terminal and/or a running agent). This reproduces every time: with Hide sleeping enabled, a workspace I'm actively using gets classified as "sleeping" and disappears from the list.

The effect is that I can't safely leave Hide sleeping on — it removes the very workspaces I'm working in, not just the idle ones. What I actually want is: keep only the workspaces that have an open session visible, and never lose one while a session is still open in it.

Proposed solution

  • [ ] Make the "sleeping" judgment respect open sessions: a workspace with at least one open session (terminal or running agent) should always stay visible under Hide sleeping, regardless of the idle/sleeping heuristic.
  • [ ] Effectively, the filter should hide only workspaces with no open session.

Alternatives or additional context

  • Always reproducible: enabling Hide sleeping while a workspace has an open terminal/agent hides that workspace.
  • Related: #4692 (waking sessions without toggling filters), #4573 (sleep filter shows inactive lineage parents), #5209 (shortcut to toggle sleeping workspaces).

minho-pinta-sh avatar Jul 03 '26 05:07 minho-pinta-sh

Resolved by merged PR #7511. Hide sleeping now keeps workspaces visible when they have an open terminal, browser tab, or live agent session, with coverage for the live-agent case.

nwparker avatar Sep 27 '26 08:09 nwparker