MarginallyClever / Robot-Overlord-App

Simulation and control software for robots
https://www.marginallyclever.com/
GNU General Public License v2.0
168 stars 49 forks source link

Gripper action unselects entity tree #136

Closed i-make-robots closed 1 year ago

i-make-robots commented 1 year ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Run app.
  2. Follow wiki instructions to add a gripper or load testGripper.zip (unzipped)
  3. select Gripper Entity.
  4. In Component view (bottom right), find RobotGripperComponent block.
  5. Click "Grab" button.

image

Expected behavior Scene\box moves to Scene\Gripper\box. the selected entities does not change in the Entity Tree Panel.

image

Screenshots Actual results incorrect: image

Platform (please complete the following information):

Additional context com/marginallyclever/robotoverlord/swinginterface/entitytreepanel/EntityTreePanel.java is the panel in question. calls to treeModel.reload() reset the list of selected rows. There needs to be a way to

i-make-robots commented 1 year ago

2023-05-24-01

i-make-robots commented 1 year ago

maybe related: https://docs.oracle.com/javase/tutorial/uiswing/events/treeselectionlistener.html

github-actions[bot] commented 1 year ago

Stale issue message