Repository: godotengine/godot (language: cpp)

Issue:
Command palette is empty initially until you filter
### Tested versions

- Reproducible in: 4.4.beta1, 4.4.beta2, 4.4.beta3
- Not reproducible in: 4.4.dev7 and prior

### System information

Godot v4.4.beta (36d90c73a) - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6636) - Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 threads)

### Issue description

The command palette is empty initially until you type something in the `LineEdit` filter.
Did bisect, caused by https://github.com/godotengine/godot/pull/100275 cc @KoBeWi

### Steps to reproduce

1. Open the command palette
2. See that the list is empty
3. Write something in the LineEdit
4. Clear the LineEdit
5. The commands are visible

### Minimal reproduction project (MRP)

N/A


Discussion / hints:

Fix patch:
diff --git a/editor/editor_command_palette.cpp b/editor/editor_command_palette.cpp
index f40307712d41..a83ceb5f8605 100644
--- a/editor/editor_command_palette.cpp
+++ b/editor/editor_command_palette.cpp
@@ -207,6 +207,7 @@ void EditorCommandPalette::open_popup() {
 	if (was_showed) {
 		popup(prev_rect);
 	} else {
+		_update_command_search(String());
 		popup_centered_clamped(Size2(600, 440) * EDSCALE, 0.8f);
 	}
 


Test patch: