Field editor not updated when a field changes in the simulation #5468
Open
Description
Describe the Bug
When you click on a field and a field editor opens for it, values in the editor don't reflect changes in the actual values.
Steps to Reproduce
- Open any world
- Click on 'Viewpoint/Orientation' (for example)
- Rotate the camera
- Watch the actual field values changing, while the values in the edit boxes remain static.
Expected behavior
Expect values in the boxes reflect the actual field values.
Screenshots
System
- Operating System: Windows 10
Additional context
I noticed this trying to use the customData field as a text input field instead of the "robot window". The controller checks using wb_robot_get_custom_data(), takes the text command and resets the field using wb_robot_set_custom_data(""). This was actually more convenient than the robot window. However, could not figure out for a while why resetting the field "doesn't work". It actually worked, but not affected the text widget.