Skip to content
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

New assigned shortcut shift + a doesn't work #101892

Open
ChrisImpact423 opened this issue Jan 21, 2025 · 4 comments
Open

New assigned shortcut shift + a doesn't work #101892

ChrisImpact423 opened this issue Jan 21, 2025 · 4 comments

Comments

@ChrisImpact423
Copy link

Tested versions

I've tried it and got the same results in
godot 4.3 (NET)
godot 4.4 beta 1 (NET)
other versions I don't know

System information

Windows 11

Issue description

I think this is not reported yet? sorry if I'm wrong (and could be a me issue maybe? tho I've tried it on two devices)

I've tried to set a new shortcut shift + a for adding a child node and it doesn't work
I've also reassign and tested with a different shortcut eg. Ctrl + Shift + N and this works

Image

Steps to reproduce

set a new shortcut for adding a child node
Ctrl+A -> Shift+A

Minimal reproduction project (MRP)

N/A

@GustJc
Copy link
Contributor

GustJc commented Jan 22, 2025

Can't exactly reproduce here. Windows 10 using either 4.3 or 4.4 beta.

But what I DID find, is that if you have the "Animation" bottom panel open, the created 'shift+a' shortcut for 'add child node' won't work.

In 4.4 beta, "Play animation backwards from End" has a 'shift+a' shortcut.
So if you have your animation bottom panel open, it'll consume the 'shift+a' shortcut and your new shortcut won't work, but that's expected. Removing the animation 'shift+a' shortcut removes the conflict and makes your shortcut work anywhere too.

But I don't know why it also doesn't work on 4.3. (maybe it had a hardcoded shift+a shortcut before and it was fixed on 4.4?)

@ChrisImpact423
Copy link
Author

Thanks for the response, I've tried switching from script tab to the other tabs and it worked, but when I press the node it stops working again (switching tabs makes it work again)
it's feels quite inconsistent but control+a always works

2025-01-22.14-34-56.mp4

@ChrisImpact423
Copy link
Author

ah mouse didn't get captured sorry

@bruvzg
Copy link
Member

bruvzg commented Jan 22, 2025

I've tried switching from script tab to the other tabs and it worked, but when I press the node it stops working again (switching tabs makes it work again)

This is expected, text input (_gui_input) is processed before shortcuts. So any focused text field (like script editor) will consume Shift+A event as a capital A letter being entered, and the event will never make it to the shortcut processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants