godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.44k stars 19.26k forks source link

Visual shader nodes are not deleted with hotkey #92776

Open Nordsoft91 opened 1 month ago

Nordsoft91 commented 1 month ago

Tested versions

Godot v4.2.2.stable

System information

macOS 12.6.7 - Vulkan (Mobile) - integrated Apple M1 Pro - Apple M1 Pro (10 Threads)

Issue description

Graph nodes cannot be deleted with hotkey in visual shader editor. Once delete key is pressed, deletion for scene node is triggered. This behavior is noticed for custom GraphEdit/GraphNode too.

Steps to reproduce

  1. Create new resource -> visual shader
  2. Open visual shader editor
  3. Create any node
  4. Select node created
  5. Press delete (Cmd+Backspace)

Expected: graph node is deleted Actual: pop-up window about deletion of scene node appears

Minimal reproduction project (MRP)

Empty project

Calinou commented 1 month ago

This is due to one of two reasons:

Nordsoft91 commented 1 month ago

Both tested: