Skip to content

Drag'n'dropping a node onto its parent node in the scene tree selects it in the (2D) Editor, but not the Inspector #97696

Open
@leogott

Description

Tested versions

  • Reproducible in 4.3-stable

System information

Godot v4.3.stable - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 580 Series (RADV POLARIS10) - AMD Ryzen 7 7700X 8-Core Processor (16 Threads)

Issue description

When a node is selected in the scene tree, this updates the view in the 2D Editor and the Inspector to highlight the node there as well.
Under very specific circumstances, this update does not happen fully. In this case: drag'n'dropping a node onto its parent to put it as the lowest of the children highlights the node to be highlighted in the 2D Editor, but the Inspector does not update accordingly.

Steps to reproduce

  1. Create a scene with a root node and two distinguishable child nodes (eg. a Container with a label and a button)
  2. Select the lower node in the scene tree
  3. drag the upper node onto its parent in the scene tree

Minimal reproduction project (MRP)

N/A

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions