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

Improve drag-and-drop reliability at the bottom of the Scene tree dock #46339

Closed
Torguen opened this issue Feb 23, 2021 · 7 comments · Fixed by #52096
Closed

Improve drag-and-drop reliability at the bottom of the Scene tree dock #46339

Torguen opened this issue Feb 23, 2021 · 7 comments · Fixed by #52096

Comments

@Torguen
Copy link

Torguen commented Feb 23, 2021

Godot version:

3.2.4 rc2 mono

OS/device including version:

win10 64

Issue description:

A kinematic node cannot be positioned below a sprite, however the opposite can happen.

GIF

Steps to reproduce:
Create a scene
Add a kinematic node and a sprite being children of another node.
Try positioning one below the other and vice versa.

Minimal reproduction project:

@Calinou
Copy link
Member

Calinou commented Feb 23, 2021

This is not an issue with the node types in themselves. It's just that drag-and-drop at the bottom of the scene tree is finnicky. It's not impossible to reorder the nodes the way you want using drag-and-drop, but it's difficult.

As a workaround, you can reorder nodes by pressing Ctrl + Up arrow and Ctrl + Down arrow after selecting a node in the Scene tree dock.

@Calinou Calinou changed the title Problem locating nodes in the editor Improve drag-and-drop reliability at the bottom of the Scene tree dock Feb 23, 2021
@Torguen
Copy link
Author

Torguen commented Feb 23, 2021

and why is it so easy with the sprite node?

@Calinou
Copy link
Member

Calinou commented Feb 23, 2021

and why is it so easy with the sprite node?

Maybe because it contains child nodes?

@Torguen
Copy link
Author

Torguen commented Feb 24, 2021

Well I have no idea, I don't know why that would matter (the fact that it has child nodes).

@nmrkr
Copy link
Contributor

nmrkr commented Feb 24, 2021

This appears to be a visual problem, not a functional one. The drop indicator line appears above the item instead of below, but the drop still works as expected. Seems to happen only happen on nodes with children and only on the upper half of the drop zone. This makes it very noticeable on the last node because there is now lower half. If you watch closely, you can see the drop indicator appear above the last item in @Torguen's GIF, but for clarity I recorded an extended version.

node-reorder

@kleonc
Copy link
Member

kleonc commented Aug 28, 2021

Fixed by #52095/#52096.

@Calinou
Copy link
Member

Calinou commented Aug 28, 2021

Closing per @kleonc's comment.

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

Successfully merging a pull request may close this issue.

4 participants