nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
7.56k stars 124 forks source link

Unexpected Workspace Created When Plugging in Second Monitor #675

Closed nzeh closed 1 week ago

nzeh commented 1 week ago

My config has 10 workspaces. Plugging in an external monitor, the second display gets assigned an 11th workspace, for which there naturally does not exist any keybinding in my config, so I can't navigate to it or move windows to it.

In general, if there are X workspaces in the config, plugging in an external monitor creates an (X + 1)st workspace.

What I would expect to happen is that one of the existing workspaces moves to the new display (the one targeted by workspace-back-and-forth seems like a natural choice when going from 1 to 2 displays, not sure how to pick that workspace when going to more than 2 displays).

nikitabobko commented 1 week ago

Works as expected. Please search for "phantom workspaces"

It'd be good to reflect the behavior in the guide though. Contribution is welcome

nzeh commented 1 week ago

Okay. Thanks. I don't think I agree with your philosophy on this one, as I find it more surprising to have a new workspace appear than to have even a random one of my existing workspaces appear on the new monitor, but that's a personal choice. Maybe down the road, this can be made configurable? Not a high priority though.