Closing a non-active workspace should not change the active workspace #1328
Closed
kalenjordan
started this conversation in
Ideas
Replies: 2 comments
|
Yo, I can confirm this on Herdr 0.7.5 stable under WSL2. Short reproduction: create workspaces A, B, and C; focus A; then close C with I’ve encountered this repeatedly when tools clean up background workspaces. I made a small local fix and regression test, and the repository checks pass. I’m a first-time contributor, so I’ll wait for an accepted issue and |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
When I close a workspace from the sidebar/context menu while I’m currently working in a different workspace, Herdr changes the active workspace after the close.
Expected behavior: closing a background/non-active workspace should remove that workspace but leave me focused on the workspace I was already using.
requested change
If the closed workspace is not the active workspace, preserve the active workspace by id across the removal.
If the active workspace itself is closed, keep the current fallback behavior of selecting a neighboring workspace.
why you want this
Closing old/background workspaces is a cleanup action. It shouldn’t pull me out of the workspace I’m actively using.
All reactions