-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Add child node shortcut (CTRL + A) is not working while the scene dock has been clicked or selected #45033
Comments
See my comment below |
Untitled.mov@EricEzaM I think the issue is the 'add child node' window will appear only if the '+' icon has been pressed and released. In the stable version, the window appears as soon as the button is pressed, it doesn't wait for the release of the button. |
I think I figured out the source of the issue... Try Pressing Ctrl + A, and releasing the buttons in the following orders, and please confirm results:
|
I can confirm that the release order matters. |
I cannot reproduce this on master, v4.0.alpha.custom_build [00fa4e2], Windows 10. |
I interpreted the issue wrong. Actually the issue is the release order of the keys. I should change the issue subject. |
I don't get this issue. Ctrl is a modifier key. Only A will trigger the shortcut. I checked in 3.5 and the difference is that the shortcut is triggered by press, not by release. |
The issue is that the sequence:
Would open Add Child on 3.5 but will not open Add Child on 4.x. I tend to hit those keys in a "rolling" stroke that often leads to releasing ctrl before A, to the point where I initially thought the shortcut wasn't working at all in Godot 4. I have to slow down and press my keys very deliberately for it to work in Godot 4, which is not true of Godot 3 or any other program I can think of. There's a very noticeable impact on user experience for me, so if it's not a bug, it's at least a usability request. |
So as I said
it only works because the shortcut actually triggers at "Press A". You don't need to release it. |
That's true in Godot3 but not in Godot4. Is it reasonable to request that shortcuts also trigger on press in Godot4? I double-checked a number of other programs I use frequently ( |
Related to #40464 |
* Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release. * This logic is removed and now shortcuts always activate on press. * This makes the editor feel more responsive and solves problems related to this behavior. Fixes godotengine#45033 and possibly others.
* Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release. * This logic is removed and now shortcuts always activate on press. * This makes the editor feel more responsive and solves problems related to this behavior. Fixes godotengine#45033 and possibly others.
Godot version: 4.0
OS/device including version: Windows/ HP Omen 15
Issue description: Add child node shortcut (CTRL + A) is pressed while the scene dock has been selected, the add child node button i.e. the '+' button is holding the pressed state and not being released, so it can generate the 'add child node' window.
Steps to reproduce: 1. Click anywhere in the scene dock. Then press (CTRL+A)
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: