Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace switches when a window is closed and same app is active on another workspace #854

Open
sschuldenzucker opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working as expected

Comments

@sschuldenzucker
Copy link

sschuldenzucker commented Dec 13, 2024

Describe the bug

Description: Consider a single-monitor setup. Let A be an app and a and b be workspaces. If workspace a is focused and has only windows of app A on it and the before-that-most-recently-focused window of app A is on b, and the current window (of app A) on a is closed, then the workspace is switched to b. This does not happen if a has a window from a different app on it.

Steps to reproduce:

  • Pick any app (say, Safari)
  • Open a Safari window on workspace 1
  • Open two Safari windows on workspace 2
  • Switch to workspace 1
  • Switch to workspace 2
  • Close the current window (on workspace 2)

Expected behavior: Workspace 2 remains active and the remaining Safari window is focused.

Actual behavior: Workspace 1 becomes active and its Safari window is focused.

This also happens when workspace 2 only has one window, i.e., with the following steps:

  • Pick any app (say, Safari)
  • Open a Safari window on workspace 1
  • Open one Safari windows on workspace 2
  • Switch to workspace 1
  • Switch to workspace 2
  • Close the current window (on workspace 2)

Expected behavior: Workspace 2 remains active (empty).

Actual behavior: Workspace 1 becomes active and its Safari window is focused.

Related issues you could find

This is a variant of #571 and probably more-or-less the same issue.

Aerospace version

aerospace CLI client version: 0.16.2-Beta 21336ad382539b35fdc94b4fbd55408e10b101f8
AeroSpace.app server version: 0.16.2-Beta 21336ad382539b35fdc94b4fbd55408e10b101f8
@sschuldenzucker sschuldenzucker added the bug Something isn't working as expected label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant