godot-orchestrator icon indicating copy to clipboard operation
godot-orchestrator copied to clipboard

`Ctrl+x` does not work in EventGraph

Open dschiller opened this issue 1 year ago • 2 comments

Describe the bug

Removing nodes inside a EventGraph via Ctrl+x does not work.

Expected behavior

Ctrl+x should work inside a EventGraph whit a selected node.

Actual behavior

Ctrl+x does not remove the selected node inside a EventGraph. Or when an item in the Scene Dock was selected before focusing the EventGraph then this item will be removed - more worse then doing nothing.

How to Reproduce?

  1. Inside a EventGraph create a node
  2. Select the node
  3. Press Ctrl+x >> Nothing happens

Godot full version

4.2.2

Orchestrator version

2.0.1

Additional information

No response

dschiller avatar Aug 11 '24 13:08 dschiller

So it does not seem that Godot's standard GraphEdit reacts to the ui_cut action, so we probably should submit an upstream PR to add this to the GraphEdit base control, and meanwhile we can add a hook for this in our custom class until Godot adds it upstream.

Naros avatar Aug 12 '24 03:08 Naros

Added upstream PR - https://github.com/godotengine/godot/pull/95614

Naros avatar Aug 16 '24 06:08 Naros