Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you intend to create a child node, you may end up creating a sibling node. #89827

Open
L30n4rd0-4rg3nt1n0 opened this issue Mar 23, 2024 · 3 comments

Comments

@L30n4rd0-4rg3nt1n0
Copy link

Tested versions

  • Reproducible in: Godot v4.3.dev (c9c17d6)

System information

Godot v4.3.dev (c9c17d6) - Debian GNU/Linux trixie/sid trixie - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (nvidia) - Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 Threads)

Issue description

When a node is created, it is clearly selected in the left panel (labeled "scene") as well as in the left panel (labeled "inspector"). However, if you place your mouse pointer right over its name, right-click and select "Add Child Node", you will get a sibling node.

This problem is avoided by clicking first with the left button and then with the right button. However, it is annoying behavior.

Steps to reproduce

The key to reproducing this bug is to never left-click on the node name in the "scene" panel. YOU CAN EVEN MOVE AND ROTATE THE NODE (for example if it is a MeshInstance3D) in the central window, and this bug will still occur.

In the screen captures I show what I said. You can clearly see which node is selected and that I have pulled down the menu by right clicking. However, as seen in the image, a sibling node is created.
01
02
03
04

Minimal reproduction project (MRP)

I think a file is unnecessary

@kitbdev
Copy link
Contributor

kitbdev commented Mar 23, 2024

@L30n4rd0-4rg3nt1n0
Copy link
Author

@kitbdev

I think that other bug was addressed during 2023... but I experience this bug in v4.3 built a few days ago.

@ajreckof
Copy link
Contributor

can't repoduce on mac on neither Godot v4.2.1.stable nor 7d151c8
In fact right clicking does indeed select and focus. Might be OS dependent

config : macOS 14.4.0 - Apple M1 Pro - Apple M1 Pro (8 Threads)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants