FB21664269: Unexpected Space merging upon monitor disconnect
Submission Date
2026-01-17
Status
Open
Area
Mission Control
Operating System Version
macOS 26.2
Type
Incorrect/Unexpected Behavior
Description
My issue is regarding Spaces.
I have "Displays have separate Spaces" turned on, and "Automatically rearrange Spaces based on most recent use" turned off.
I often have my MacBook connected to an external display, which I use as the primary monitor. I use multiple Spaces across both displays to organise my work and applications. For example, I use Desktop 1 through 3 on the external display, and Desktop 4 through 6 on the laptop.
When I disconnect from the external display to work solely on the laptop, most of the desktops correctly move from the external display to the internal display. However, the first Space on each display merge together - which feels like an unexpected behaviour - especially when the rest of the spaces behave as expected.
How to reproduce problem:
- Configure: "Displays have separate Spaces" turned on, and "Automatically rearrange Spaces based on most recent use" turned off.
- Plug Macbook into external display
- Set up a few Spaces on each display (ie 3 on each)
- Open a window on each Space
- Unplug external display
- Observe that there are 1 fewer spaces (ie from 6 to 5)
- Observe that the windows previously open in the first space of each display are now (unexpectedly) merged into Space 1
- Observe that the rest of the Spaces remain with the same windows they previously had
Expected result: The number of spaces should remain the same, and spaces should not merge
Possible cause: I guess this behaviour might have originally intended to handle cases where an external monitor was connected, but had no windows or spaces on it. In that case, it might make sense to not move that empty space to the internal display. However if I'm using the space, I would expect it to remain.
See also: https://www.reddit.com/r/MacOS/comments/12zm35y/why_yes_macos_when_i_unplug_my_external_monitor_i/ https://discussions.apple.com/thread/251175713?sortBy=rank
Keywords
No response
Prerequisites
- [x] The title follows the format
FB<number>: <title> - [x] I will keep this issue updated with Apple's responses
Seeing the same thing here. Workaround until Apple fixes it: keep the first Space on the external display empty; only that first Space merges, the rest move over intact and return on reconnect. For the windows that do get merged, I wrote a free open-source tool (disclosure: I'm the author) that snapshots per-monitor layouts and moves windows back to their original Space when the monitor reconnects (uses private SkyLight APIs, macOS 26+): https://github.com/tumingke0/LayoutKeeper. Hopefully FB21664269 makes all of this unnecessary.