Operating system or device - Godot version:
Godot last GIT build
Windows 7 64bit
Issue description (what happened, and what was expected):
Troubles while trying to rename a node by double-clicking on it. It's seems buggy because working randomly
Steps to reproduce:
Add a node, then double click on it to rename it. Not working 100% times
Link to minimal example project (optional but very welcome):
Whilst it doesn't fix the issue, selecting a node and then pressing F2 will allow you to rename it.
I can confirm I get this issue also in x11 using 2.2a
PS: It might be good to include rename in the RMB drop-down for good measure.
Probably the issue is related to the editor considering the double-click as a drag + drag, a drag + click, or a click + drag.
as my experience, double click has about 1 second term would enable rename field.
a little bit faster than 1 second, it focus to selected.
a little bit slower than 1 second, does nothing.
it would be good to enable rename if double click label, and focus it when double click node icon, IMO.
i guess this may be confusing because if you click an item, and wait more than 800ms then the count restarts so you have to double click the selected element in an interval from 400ms to 800ms maybe increasing the edit interval to 400ms to 1s
This still is not fixed for me. I need to "triple" click a node to rename it!! How come?!
@RebelliousX Works fine for me in the current master. Are you sure your build was made after the fix?
@vnen Hmm, interesting, I pulled the changes before building, I will pull from master and rebuild again.
Edit: Sorry my bad, it was a prior build with a few commits behind.
Most helpful comment
as my experience, double click has about 1 second term would enable rename field.
a little bit faster than 1 second, it focus to selected.
a little bit slower than 1 second, does nothing.
it would be good to enable rename if double click label, and focus it when double click node icon, IMO.