Skip to content

Drag drop bug in scene tree #82048

Description

@Variable-ind

Godot version

Godot 4.2 (59139df)

System information

Linux Mint 21.2 (Victoria) - integrated Intel(R) HD Graphics 620 (KBL GT2) () - Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 Threads)

Issue description

i found a bug in drag and drop of nodes in "Scene Tree"

  1. press left mouse to start dragging
  2. press right mouse (while still pressing left mouse)
  3. release the left mouse
  4. release the right mouse (The dragging still continues even when when both buttons are released)

now here's the bug

  1. move the mouse to the place you wanted the node to end up ("move here" node) and press left click

Expected behaviour

"TestNode" should become a child of "move here"

What really happens

nothing at all

here's a visual for reference

a.mp4

i should mention that the "File manager" doesn't have this bug and gives the expected outcome

b.mp4

Steps to reproduce

discussed above

Minimal reproduction project

none required

Metadata

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