-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Cannot assign % as shortcut for Toggle Access as Unique Name #104594
Comments
Does this happen when in the 2D editor only? It is used for a specific zoom level in that editor |
Good thought, but unfortunately it also happens when I switch to 3D. It still happens when I unassign the shortcuts |
Tested in v4.4.stable.official [4c311cb], and in current It works / doesn't work based on what's focused. Right after the selecting nodes in the scene tree dock it doesn't work. Here I'm constantly toggling it:
If 2D Viewport is focused (happens when moving mouse over it) it does work, it both sets the zoom and toggles unique name(s). |
This is what is happening:
This is the code being triggered, specifically the branch Lines 3678 to 3704 in a76c1ac
What is happening is more clear if you change the shortcut to be Shift + 4 (unicode $) since if you try create a node I have created a node godot.windows.editor.dev.x86_64_zZCSqDlfRt.mp4Not sure what the solution is here. Probably "pick a different shortcut" but I know that sucks. Processing shortcuts before input is a huge change that would break many things so is not viable. It works if you have the viewport focused, as the viewport does not do any pre-shortcut input handling of this key combination, and the shortcut ends up getting handled globally by the scene tree dock. Note this works for any focused control that has this behaviour, e.g. if you focus the inspector then the shortcut still works too (again, it is treated as being global) |
That makes total sense, thank you for digging into this! I wasn't even aware of the incremental search feature, otherwise I'd have thought of it myself. Closing as not feasible. |
Tested versions
v4.4.stable.arch_linux
System information
Godot v4.4.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Sat, 22 Feb 2025 00:37:05 +0000 on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (amdgpu) - 13th Gen Intel(R) Core(TM) i7-13700K (24 threads)
Issue description
Unique node names are awesome and I use them a lot.
So I thought, why isn't there a shortcut key to set Unique Name on a node in the editor? The extremely obvious candidate is
%
.And then I thought, I can just assign it myself!
So I did:
This is with Physical, but it also happens with Keycode and Key Label.
It shows up in the context menu when right-clicking on a node. But it does not work; nothing happens when I select a node and press
%
(i.e. Shift+5).Steps to reproduce
See above.
Minimal reproduction project (MRP)
n/a
The text was updated successfully, but these errors were encountered: