How to reproduce:
- Open the attached “IN-155110” project
- Save the current layout to a file (Window -> Layout -> Save Layout to File)
- Open the “Unsaved Changes Repro” window (Window -> Debug -> Unsaved Changes Repro)
- Dock the “Unsaved Changes Repro” window next to another window (i.e. Scene view)
- In the “Unsaved Changes Repro” window, click the “Mark Dirty” button
- Load the previously saved layout (Window -> Layout -> Load layout from File)
- Observe the Editor
Actual result: The layout file is loaded and the debug window is gone without being prompted to save changes
Expected result: A dialog asks the user to save unsaved changes
Reproducible with: 6000.0.0f1, 6000.0.84f1, 6000.3.25f1, 60006.6f1, 6000.7.0b3, 7000.0.0a8
Reproducible on: macOS 26.6.2 (M5 Max) (by user), macOS 27.0.1 (M1 Max)
Not reproducible on: No other environments tested
Note: This can be reproduced with any window that tracks asset changes