-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
DragValue
edit is discarded when clicked off
#2818
Comments
This is really annoying when you want to edit a list of values with the keyboard by tabbing through them. The only way to make the changes save is to hit the return key, which resets the tabbing state so you have to tab back to where you were from the start. I would like to be able to select the first value (translation.x), type the new value, hit tab, type the next value, hit tab, etc. Currently that's not possible as it doesn't save the values you typed when you hit tab. This used to work so likely a regression. |
I'm using the return key to mean "Ok" when displaying a dialog (standard OS behavior) so using it to enter a single value is not good.
This is for sure a regression. |
Looks like it was introduced in this commit: b40dba1 Used git bisect and tested with the hello_world example to find the first commit where it wasn't working. The drag value created by the Slider in the example is affected so it made a good test since DragValue isn't used in the examples directly. |
The problem here seems to be that |
Okay, I found the culprit. If you click on another Clicking on other widgets (e.g. Simply commenting out this line fixes the issue but I don't know if there would be any other issues because of it. [edit] Doesn't fix tabbing. |
Tabbing between |
I honestly feel that #2688 is just too problematic and should be reverted. |
Describe the bug
If I click a
DragValue
and type in a new value then that new value is discarded if I click on anotherDragValue
orTextEdit
.Video: https://youtube.com/shorts/_wxqB0XjkIY
The text was updated successfully, but these errors were encountered: