Shortcuts Don't Work

Godot Version

4.6

Question

Can someone tell me why my shortcut keys don’t work? I want to save everything.

Is this Windows or Mac? Mac use Cmd key instead of Ctl.

1 Like

It’s Mint.

Make sure the key combo is not used as a global accelerator by the window manager, if ctrl + s is being captured by the window manager it won’t propagate to the Godot editor.

I think Mint used to use ctrl + s to select al matching items, but I’m not sure, been a long time since I played with Mint.

2 Likes

I am using Kubuntu/KDE here is the screen shot. CTRL+S works fine. Maybe just reset the shortcut. Looks like you tried to modify it to something else.

Nah, nothing is working for me. Am I just literally not able to save everything at once? I have to save everything one at a time? That seems like a terrible interface. I should be able to save all the scenes and scripts at the same time.

This appears to be a problem with your installation of Linux Mint, as opposed to a Godot-specific problem; because other Godot users do not seem to be experiencing it. You might have more luck asking about this over at the official Linux Mint Forum or the Unix & Linux Stack Exchange.

I haven’t verified they are even doing the same thing. I tried the first solution and control commands are working in Godot because copy/paste/undo all work fine. So Mint is not filtering those.

The other screen shot is not even doing what I’m trying to do, Ctrl+S is assigned to save scene not save all scenes, and I don’t see where save scripts was modified. That doesn’t match how I have it setup in my screen shot. If fact that appears to be a screen shot of just the default interface with no changes, so I’m not surprised that is working.

Ok, then perhaps describe in detail what you are doing, what is happening, and what you expect to happen. In this case, clearly your picture was not worth 1,000 words.

In my screen shot I have save all scenes and save all scripts both set to Ctrl+S. I want to save my entire project at one time instead of only parts of it. That is a normal thing that other game engines allow you to do but I can’t figure out how to do it in Godot. I’m not seeing any way to save my entire project at once.

If I’m looking at a script, Ctrl+S saves all the scripts. If I’m looking at a scene Ctrl+S saves all scenes. It should be saving the entire project regardless of what type of window I have open.

Yeah, I think that menu is incorrect. You should log a bug. Reset them all.

Ctrl + S does in fact save all scripts and scenes for me as the default. You moved it off the option that works.

I made a video to show what happens. YouTube did something to the audio but you can still mostly understand it.

Very echo-y.

So I played around some more and you are right. The feature does not work if you remap the buttons. It does work if you use the defaults.

The ability to remap buttons in the editor is a recent change. It was introduced IIRC, partially in 4.4, and fully in 4.6.

I recommend you log a bug on the project issues page. They are currently in beta1 of the 4.7 release. They’ll probably do another one of those and two RCs, and the release version will come out in the next few weeks. This is the kind of bug that’s likely to get fixed pretty quickly if it’s logged because it’s low-hanging fruit.

In the meantime, you’ll probably have to keep using Ctrl+Shift+Alt+S to save all scenes.

Note that if you press the Run Project button in he upper right-hand corner, every scene and script will save automatically.

image

1 Like

Hi,

I already created a ticket but can you add your findings to it because another person replied already and once again said it works just fine. So many people keep telling me it works and it doesn’t.

Edit: Also, I tried what you said and it works. Ctrl+Shift+Alt+S works as expected but as soon as I change the shortcut keys it stops working. Now that I’ve seen this works that way, I know it has to be a bug.

1 Like

Here is my Save All shortcut setup under Editor. It works fine and saves both Scenes and Scripts. One thing after you make the changes is restart Godot. I am using Kubuntu.

I commented on the bug with more info. I’m able to recreate the issue on Windows, so it’s not OS-related.

2 Likes

@anxy82 FYI your ticket has been accepted as a bug by the team. I can tell because of the labels applied to it.

1 Like

Yea I see that but the other guy says its not a bug, so I don’t know. :thinking:

I hope someone gives an official update sometime. I see what the other guy is saying about it being a design feature but I think it’s a pretty silly design feature to work with default keys and then break when you change them.

Anyone (at least me, I guess) is going to think that if you are able to assign those keys to saving, they should save. But I’ve only used Godot for about a week so I don’t know anything about it.

Thanks.

1 Like

Nope, it hasn’t been. The other guy gave some long winded explanation on why this terrible design is working fine and they removed it from the bug category. :roll_eyes:

Maybe its not a bug then, but only under very specific conditions which no normal person would understand. If you assign shortcut keys to perform a specific function, you should expect them to perform that function. It really is as simple as that for me. That’s how UI/UX design should work.

This method is just way too confusing, and even after 2 days, I still don’t fully understand his long-winded explanation on why this is working as intended which either means, I’m an idiot (which is possible) or this setup is just way too confusing.

I saw. I would guess that guy was the developer in charge of the system.

FWIW, With the default controls, pressing Ctrl+S saves the active scene and all unsaved scripts. So if you just change the Save All Scenes option alone to Ctrl+S you should get the functionality you want.