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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.