Sub topic 13
Troubleshooting and common pitfalls
This chapter assumes you have read the earlier chapters. You should know what a Space is, how Mission Control works, and where to find System Settings. Most problems with Spaces and tiling come from a setting that interacts with another setting, not from a bug. The fastest fix is usually to identify which setting is responsible.
A triage order
Work from the cheapest check to the most disruptive one.
Spaces keep changing order
By default, macOS reorders Spaces by recent use. Your "Desktop 2" may become "Desktop 1" without warning, which breaks muscle memory and numbered shortcuts. Turn off Automatically rearrange Spaces based on most recent use under Desktop & Dock, in the Mission Control section. You can check or change the same setting from the terminal:
defaults read com.apple.dock mru-spacesIf the key does not exist, you are still on the default, which is on. To turn it off:
defaults write com.apple.dock mru-spaces -bool false
killall DockTo return to the default:
defaults delete com.apple.dock mru-spaces
killall DockKeyboard shortcuts do nothing
Check three things in order:
- Open System Settings, then Keyboard, then Keyboard Shortcuts, then Mission Control. Confirm the shortcut is ticked. The "Switch to Desktop N" entries only work for Spaces that exist, and they may be unticked.
- Look for a conflict. Another app, or a shortcut in another category, may use the same keys.
- Test the app directly:
open -a "Mission Control"If this opens Mission Control, the app works and the shortcut is the problem. If it does not, restart the Dock with killall Dock.
Switching apps jumps to the wrong Space
When you press Command-Tab, macOS may move you to another Space that holds a window of that app. This follows the setting When switching to an application, switch to a Space with open windows for the application. Turn it off if you want apps to stay where you are. Also check whether the app is assigned to All Desktops from its Dock icon's Options menu. An app set to All Desktops follows you everywhere. An app assigned to one desktop always pulls you back to it.
Windows disappear when a Space is removed
Closing a Space in Mission Control does not close its windows. macOS moves them to an adjacent desktop. A full-screen app is different, because it is its own Space. Exiting full screen returns the window to a normal desktop and removes that Space.
Tiling options are missing or do nothing
- The Window > Move & Resize menu and drag-to-edge tiling exist only in recent versions of macOS. Check your version under System Settings, then General, then About.
- Some windows cannot be resized, such as small utility windows and some installers. Tiling skips them.
- If a tiled window overlaps another, the other app may enforce a minimum window size.
Displays behave unexpectedly
The setting Displays have separate Spaces controls whether each display has its own set of Spaces. Changing it requires logging out and back in. With it on, a full-screen app takes over one display only, and the others keep working. With it off, a full-screen app covers all displays, and the second display shows a blank background.
Stage Manager gets in the way
Stage Manager and Spaces overlap in purpose. If windows are grouped or hidden at the left edge and you did not expect it, check Control Center for Stage Manager and turn it off to compare behavior.
Quick reference
| Symptom | Likely cause | Fix |
|---|---|---|
| Spaces change order | `mru-spaces` is on | Turn off the rearrange setting |
| Shortcut does nothing | Disabled or conflicting shortcut | Check Keyboard Shortcuts, then Mission Control |
| Command-Tab changes Space | Switch-to-Space setting | Turn it off |
| App appears on every desktop | Assigned to All Desktops | Change it in the Dock Options menu |
| No tiling menu | macOS too old | Update, or use a third-party tool |
Exercise
Your Spaces keep swapping positions, and you want them to stay fixed. Which terminal commands turn off that behavior, and why does the second command matter?
Show answer
Run defaults write com.apple.dock mru-spaces -bool false, then killall Dock. The first command writes the setting. The Dock reads it only at startup, so killall Dock restarts it and applies the change.