godot icon indicating copy to clipboard operation
godot copied to clipboard

Close Scene shortcut does not work

Open gatomesa opened this issue 1 year ago • 1 comments

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

gatomesa avatar Aug 17 '24 05:08 gatomesa

Seems like it's Ctrl+W on MacOS https://github.com/godotengine/godot/blob/1bd740d18d714f815486b04bf4c6154ef6c355d9/editor/editor_node.cpp#L7152-L7153

KoBeWi avatar Aug 17 '24 09:08 KoBeWi

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

gatomesa avatar Aug 17 '24 15:08 gatomesa

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.

gatomesa avatar Aug 17 '24 15:08 gatomesa

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.

VitikaSoni avatar Aug 21 '24 15:08 VitikaSoni

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

mhilbrunner avatar Jan 02 '25 11:01 mhilbrunner

Fixed by https://github.com/godotengine/godot-docs/pull/10457, updating the docs. Thanks for reporting!

mhilbrunner avatar Jan 03 '25 08:01 mhilbrunner