-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Some command palette commands do nothing #78981
Comments
I was able to bisect this to #76719, which was also ported to 3.x. |
This also happens for me on macOS Ventura and v4.1.stable.official. Many command palette commands do nothing. Additionally the hotkeys assigned to certain actions also do nothing. For example both the command palette and hotkey for "toggle distraction free mode" do nothing. |
Same problem. Trying to execute "Project Settings", "Export", "New Scene", etc has no effect |
Just a heads-up that I am actively trying to solve this bug. I think I've got some good guesses, but until I can attach a debugger it will be tricky. I'm quite suspicious of this snippet: void EditorCommandPalette::_confirmed() {
TreeItem *selected_option = search_options->get_selected();
String command_key = selected_option != nullptr ? selected_option->get_metadata(0) : "";
if (!command_key.is_empty()) {
hide();
execute_command(command_key);
}
} |
Same issue in v4.2 dev 5 |
Godot version
v4.1.rc2.official [4642448]
System information
Windows 11
Issue description
Selecting some of the commands from command palette do nothing. Seems like commands that should open a popup/window fail, while other commands work. Selecting faulty commands from menu directly work.
cmd-palette.mp4
Steps to reproduce
Expected behaviour
Command palette popup hides.
Editor Settings popup opens.
Actual behaviour
Command palette popup hides but Editor Settings popup does not open.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: