Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Thank you! This was exactly what I wanted: the "When switching..." unchecked behavior with Dock behavior left in-tact. The only other undesirable effect is that built-in Cmd-Tab doesn't switch either. For that I just replaced the built-in tab-switcher with Witch. Commented Mar 21, 2012 at 17:37
  • 2
    I thought this happens because the system is switching back to the previous app, but that's not it. Something is causing explicit switching to apps in different desktops (and subsequently switching the space). After disabling the "When switching..." option, in addition to not switching spaces, it also no longer switches to the "wrong" app. Instead it simply returns to the app you were using right before the app being closed. I wish there was a way to just disable that bug. I'd say, switching spaces when switching apps, in itself, is fine. Commented Jun 15, 2014 at 13:59
  • 1
    I'm just adding this for Google. This also works for those of us using iTerm2 with a so-called "floating window" (aka a "visor") that shows and hides itself when using hotkeys. If you reveal the iTerm window and then switch spaces while it's open, hiding it again will take you back to a different space with windows for the app that was in focus before you showed the iTerm visor window. Disabling "When switching ..." fixes this behavior, too. Commented Oct 25, 2023 at 10:18
  • Is this still the best solution in 2025? It also seems to not work when the last used app was the Orion browser in a full screen space, it still switches spaces to it, weird! EDIT: it looks like in 2025 this is actually only a problem for Orion to begin with! Commented 2 days ago