Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.0.63f1
6000.2.15f1
6000.3.0f1
6000.4.0b1
6000.5.0a3
Issue ID
UUM-129251
Regression
No
Editor does not quit when Editor is not in focus and any floating window is opened
How to reproduce:
1. Create and open a new project
2. Undock any tab into a floating window
3. Focus on some other window outside of the Editor
4. Without focusing on the Editor, try to close the main Editor window with the 'X' button
Actual result: Editor focuses but doesn't close
Expected result: Editor is closed immediately
Reproducible in: 2023.1.0a1, 6000.0.63f1, 6000.2.15f1, 6000.3.0f1, 6000.4.0b1, 6000.5.0a3
Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: macOS 26, Ubuntu 22.04 (Nvidia)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [WebGPU] clearing 2d array texture only clears first slice
- Particle System Renderer icon is missing in Animation window > Add Property context menu
- [Android] Legacy, TMP and UI Toolkit Input Field language toggle to some non-latin alphabet languages does not work with external keyboard
- Crash on keywords::LocalKeywordState::operator when calling ShaderUtil.GetPasskeywords with ShaderType.RayTracing set as the third parameter
- Inconsistent “Remove property” behavior when removing child properties in Animator window
Resolution Note:
This is a quirk of Win32 and Unity Editor's windowing design.
When clicking on the close button of a non-foreground window, Windows does not initially send SC_CLOSE. The click is first interpreted as “activate this window”, not “press its close button”, but once the window is activated the click is further processed resulting in the close button receiving the click event.
This behavior occurs when the Editor's "main window" is open by itself with no other secondary windows.
However, if a secondary window is open, it is "owned" by the main window allowing it to appear at the top of the z-order, but this also changes the execution behavior of the mouse click. Activation is redirected to the secondary window (not main) so the mouse click isn't processed by the close button and the Editor remains open.
This behavior cannot be easily changed/fixed.