home-assistant / home-assistant/iOS
[macOS] App window positions reset while switching spaces
- Dominant language
- Swift
- Stars
- 2.4k
- Forks
- 520
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 264
Description
## Device model, version, and app version
**Model Name:** MacBook Pro, 16-inch, Nov 2023, M3 Max
**macOS Version:** Tahoe 26.5.2
**App Version:** 2026.7.1 (2026.2346)
**Safari Version:** 26.5.2 (21624.2.5.11.8)
## Home Assistant Core Version
2026.7.4
## Bug Description
Positions of app windows reset to different positions (stacked on top of one another) when switching away to a different space and then switching back to the space with the app windows.
## To Reproduce
1. Open Home Assistant for macOS and create several instances of app windows (⌘+N).
2. Position them on the screen in a specific layout.
3. Create a new space and switch to it
4. Switch back to the space with the Home Assistant app windows
## Expected behavior
Windows are in the same position
## Actual behavior
Windows are repositioned and moved to be stacked on top of one another in a different part of the screen
## Screenshots
### Before
### After
Contributor guide
Research direction
Start by reproducing the issue on macOS using several Home Assistant windows, the stated layout, and a second Space. Since the report names no files or tests, locate the app's window-management entry point and verify that returning to the original Space preserves each window's position; done means the layout remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100