I make heavy use of workspaces, and tend to have a lot of workspaces, most of which only have one window. I pretty much always have two different workspaces that have a window of Google Chrome open.
Ever since I updated from Yosemite to High Sierra, I've had this weird issue where, when I switch to one of the Chrome workspaces, it'll instantly jump to the other Chrome workspace (even though there's like 4 other workspaces between them).
I can't seem to figure out the precise set of conditions that causes this; it's random as far as I can tell (although, infuriatingly, once it does happen, it'll probably happen again immediately after when I try to correct). It can happen whether I'm switching workspaces via keyboard shortcut or trackpad gesture, but I don't think I've ever seen it happen if I open Mission Control to switch workspaces. I've only seen it happen with Chrome, but then, Chrome is the only application that I ever have open in multiple workspaces.
I've tried toggling the "When switching to an application, switch to a Space with open windows for the application." option in System Preferences->Mission Control, but it happens whether this is turned on or off.
Does anyone know what might be causing this and how I might fix it?
Do this in terminal:
defaults write com.apple.dock workspaces-auto-swoosh -bool NOfollowed bykillall DockThe latter restarts the Dock to apply the prefs change. Alternatively, reboot (though why when you can restart the service :)).
– stuckj Oct 01 '18 at 20:48Also this only seems to be an issue for chrome. all of my other apps were already respecting the option
– Will Dec 18 '18 at 06:12