godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.53k stars 19.27k forks source link

Shortcut modification does not work when Scene Tree is "selected" #93631

Open RPSebb opened 1 week ago

RPSebb commented 1 week ago

Tested versions

v4.3.beta1.official [a4f2ea91a]

System information

Godot v4.3.beta1 - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 2060 SUPER (NVIDIA; 32.0.15.5599) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

Issue description

After modifying shortcut of Scene Tree, the associated action does not work when the Scene Tree is selected (blue border on the panel). Everything works perfectly with the default shortcut.

Capture d'écran 2024-06-26 164456

Steps to reproduce

I did try to modify the Scene Tree > Delete shortcut, same result.

Minimal reproduction project (MRP)

mrp.zip

qycyfjy commented 1 week ago

Some simple debugging, I found out that it's because you "focus" a gui, and then it's handled by the gui: after a bunch of complicated logic, shift+D will be processed directly, while ctrl+D will not be processed and flowed to _push_unhandled_input_internal.

It doesn't seem to be the case.