Skip to content

Field editor not updated when a field changes in the simulation #5468

Open
@amrytov

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

  1. Open any world
  2. Click on 'Viewpoint/Orientation' (for example)
  3. Rotate the camera
  4. 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

FIELD EDITOR_OUT_OF_SYNC

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.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions