-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
PopupMenu accelerators don't work. #40836
Comments
Cannot reproduce in 4.0 master 10150f7b5 |
Did you try the demo project? It's still not working for me. |
Can confirm for 3.2.3 that the accelerator only works for menus that belong to a I think it should be possible to send input events to the menu via |
Can confirm for 3.5.1 using the test project. Pressing A never seems to do anything, but clicking the button with the "A" at the end of it does. |
I'm not sure, that was 3 years ago now. It's possible I didn't reproduce the setup correctly, or it was inadvertently fixed for a of time back then. |
Godot version:
3.2.stable.official
OS/device including version:
OS: Windows 10
Issue description:
A PopupMenu's accelerator does not work when using any kind of add_item. The item will be clickable, will have the hint on the right of the shortcut, but the accelerator will simply not work. From the docs:
Steps to reproduce:
Create a popupmenu in any scene. Give the PopupMenu the following code:
Connect the id_pressed signal to itself, and launch the scene.
On scene launch, the popupmenu will contain a button with the label "PopupMenu bug test" and a grayed out "A" on the right. Pressing "A" should activate the button, printing "Object Pressed". This does not happen. Upon clicking the item, it does.
Minimal reproduction project:
PopupMenuBugReport.zip
This project contains the above code, plus a couple practicality nodes.
The text was updated successfully, but these errors were encountered: