Close Scene shortcut does not work
Tested versions
- Reproducible in: 4.3.stable
- Not reproducible in: 4.2.2.stable
System information
Godot v4.3.stable - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
The close scene shortcut, Cmd + Shift + W, does nothing in MacOS.
Steps to reproduce
Try using the close scene shortcut, Cmd + Shift + W.
Minimal reproduction project (MRP)
N/A
Seems like it's Ctrl+W on MacOS https://github.com/godotengine/godot/blob/1bd740d18d714f815486b04bf4c6154ef6c355d9/editor/editor_node.cpp#L7152-L7153
That's surprising, because in 4.2.2 it's Cmd + Shift + W. Also in the shortcuts reference: https://docs.godotengine.org/en/stable/tutorials/editor/default_key_mapping.html
Testing it out a little more, it seems Cmd + W closes the scene, but only if you explicitly focus the scene tab. If the tab is not focused, it doesn't work.
Ctrl + W doesn't seem to do anything.
For me, Cmd + W works without the tab being focused. Would like to know why its Ctrl+W only for macOS, and do we need to do anything about it.
Would like to know why its Ctrl+W only for macOS
Seems it was an intentional change made here: https://github.com/godotengine/godot/pull/88913
Fixed by https://github.com/godotengine/godot-docs/pull/10457, updating the docs. Thanks for reporting!