PlotJuggler icon indicating copy to clipboard operation
PlotJuggler copied to clipboard

Fields missing in left-hand pane after loading a layout

Open jepemi opened this issue 5 months ago • 4 comments

Description

When loading a layout, some fields disappear from the left-hand pane, even though they are still being plotted correctly.

Steps to Reproduce

  1. Start PlotJuggler.
  2. Start streaming data, there is an size-three array field b
  3. Save a layout that plots specific fields (example: b[1]).
  4. Close and restart PlotJuggler.
  5. When prompted: Start the previously used streaming plugin? select Yes.
  6. Load the previously saved layout.

Observed Behavior

The field plotted in the layout (e.g., b[1]) remains visible in the plot. However, it disappears from the left-hand Timeseries List pane. Other related fields (e.g., b[0], b[2]) remain visible.

This seems related to (or the same as) #1031 , though reported with a different plugin.

Reproduced both with PlotJuggler 3.9.1 and 3.12.0

Image

jepemi avatar Sep 19 '25 08:09 jepemi

I noticed that you use your own plugin called "Fast DDS Visualizer Plugin".

The problem might be there. Are you calling this: https://github.com/facontidavide/PlotJuggler/blob/main/plotjuggler_base/include/PlotJuggler/datastreamer_base.h#L91-L93

If eProsima needs commercial support with their plugins, let me know

facontidavide avatar Sep 19 '25 08:09 facontidavide

I am checking this: https://github.com/eProsima/fastdds-visualizer-plugin/blob/main/plugins/datastreamer_plugin/datastreamer/FastDdsDataStreamer.cpp

At a first look it seems to be correct. Don't know where the issue might be. I will keep this in mind to see if it can reproduced using other streamers

facontidavide avatar Sep 19 '25 09:09 facontidavide

@facontidavide might it be related to https://github.com/facontidavide/PlotJuggler/issues/1031?

sastel avatar Sep 19 '25 13:09 sastel

Oops never mind I see that @jepemi already referenced it.

sastel avatar Sep 19 '25 13:09 sastel