Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the standard macOS shortcut for closing scene and script tabs (Command + W) #4195

Closed
lexum0 opened this issue Mar 9, 2022 · 2 comments · Fixed by godotengine/godot#88913

Comments

@lexum0
Copy link

lexum0 commented Mar 9, 2022

Describe the project you are working on

Any project

Describe the problem or limitation you are having in your project

Command + W closes any tab on any app on macOS, the current shortcut is Shift + Command + W which is unintuitive and Close Script does use Command + W unlike Close Scene. Using the same standard would be great

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Using the same shortcut for Close Scene and Close Script would improve UX and efficiency

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Same shortcut to close depending on the context, script if on Script editor or Scene if on 3D viewer

If this enhancement will not be used often, can it be worked around with a few lines of script?

It is used all the time for navigation and closing tabs and windows

Is there a reason why this should be core and not an add-on in the asset library?

To have a solid UX and UI, using streamlined shortcuts (just like Command + Q quits the editor)

@Calinou Calinou changed the title [macOS] Standard shortcut for closing tab Command + W Use the standard macOS shortcut for closing scene and script tabs (Command + W) Mar 9, 2022
@Calinou
Copy link
Member

Calinou commented Mar 9, 2022

Related to #4098.

This can probably be done in 4.0, but it'll be tricky to do in 3.x (if even possible) due to the various input focus stealing issues present there.

@Cass-dev-web
Copy link

Related to #4098.

This can probably be done in 4.0, but it'll be tricky to do in 3.x (if even possible) due to the various input focus stealing issues present there.

Shortcuts already exist, it's a matter of overwriting them.

@akien-mga akien-mga added this to the 4.3 milestone Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants