-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Godot 4: a click on an animation name can paste name of animation previously renamed on SpriteFrames #55769
Comments
Looks like #42419, except the "tree" in SpriteFrames editor is an ItemList. |
I think I already know about the cause of this problem. I added a print code to
In this method, the entire tree is rebuilt. And this method may be called for a small change. |
Cannot reproduce on master. Seems like it was fixed by whatever fixed #42419? 2022-11-15.15-22-17.mp4 |
Thanks for testing! Closing. |
Sorry, this issue doesn't seem to be resolved yet in cfb9cae. 0.mp4 |
I'm recompiling right now to test again, but it looks like you may have double-click selected the name and dragged it onto the other animation name? |
Ok, here are some more details. If you select a node, enter rename mode, then click some other node after a bit of time has passed, the bug does not occur. If you double-click a node and immediately after click another node, the second node will become "selected". You can see it because it becomes highlighted. In that situation, clicking again anywhere will rename the last node selected. It will look like this: original renamed node is selected and in focus. Second clicked element is selected and not in focus. Also, @marzecdawid was working on some Tree stuff, so thought I'd give him a tag :) |
It seems that the results returned by Edit: godot/editor/plugins/sprite_frames_editor_plugin.cpp Lines 680 to 682 in cca9f78
godot/editor/plugins/sprite_frames_editor_plugin.cpp Lines 723 to 732 in cca9f78
The comparison here is the text in edited and selected, so it should be required that edited and selected are the same. |
Godot version
v4.0.dev.calinou [4f29823]
System information
Windows 10 64bit - Vulkan API 1.2.141 - GeForce GTX 1660 SUPER
Issue description
A video is better than words:
2021-12-09.21-58-46.mp4
Note: I only use mouse to perform this bug (I'm not pasting anything with my keyboard).
Godot 3.4 and 3.4.1-rc2 are not affected by this bug. All official builds are affected.
Steps to reproduce
SpriteFrames
menuMinimal reproduction project
bug-click-animation-name.zip
The text was updated successfully, but these errors were encountered: