Description
Godot version:
3.2
OS/device including version:
Linux Mint 19.2 Cinnamon
Issue description:
The Delete key does not Delete the selected node when focusing a node in the Scene Tree when the Visual Script Editor is open. This is due to Delete being mapped to Delete Selected (visual node) in the context of Visual Script Editor, and this context being considered active despite focusing the Scene Tree. Note that when pressing Delete however, the last focused Visual node is not deleted either; nothing happens instead.
If you remove the mapping of Delete in Visual Script Editor context (or remap Delete Selected to another key), Delete will work correctly on the Scene Tree.
Steps to reproduce:
With default mappings:
- Create a Visual Script and keep the Visual Script Editor open.
- Select a node in the scene tree (outside the Root)
- Press Delete
Result: nothing happens
Bonus: do the same, but after removing Delete Selected mapping in Visual Script Editor context.
Result: Godot prompts for node deletion as expected