You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Layout files that have the "Save data source" option selected may include files that were previously unloaded when the Layout file was created, and user input on a dialog window can cause PlotJuggler to crash when loading the layout file
How this was discovered:
-Have a Plotjuggler window open from a previous session with data loaded
-Load new data file and have PlotJuggler remove the previous data
-Set up layout for new data and save the Layout file with the "Save data source" option selected ("save custom transformations" also selected in my case but suspect this isn't relevant)
The clip below shows an example of creating the layout file (also see the note below)
PlotJugglerCreateMultiStepLayout.mp4
Note: I tried doing this several different ways and in one attempt (I think if the first file is loaded but you don't do anything with the data before loading the second) the layout file will not include the first file. The example video here may be such a case. I know it is repeatable if you load the first file, create a custom timeseries and plot it and then load the second file and unload the old data.
When the layout file is later loaded, the original file that was open is loaded, and then the second file is loaded and the user is given the following prompt:
PlotJuggler will crash if the user selects "No" in this dialog window:
PlotJugglerMultiFileDontUnload.mp4
Selecting "Yes" to remove the previously loaded data will let the second data file load without issue
PlotJugglerMultiFileUnload.mp4
Interestingly the layout file contains multiple files that had been previously loaded during the session, but only the last one to have been unloaded seems to get loaded when opening the layout file in PlotJuggler
It seems like the inclusion of files that have been unloaded doesn't serve a functional purpose and is undesirable behavior (this could lead to leaking sensitive information by including file info that was not intended to be shared)
(PlotJuggler 3.3.0 on Windows 10)
Not a showstopping bug but reporting anyways:
Layout files that have the "Save data source" option selected may include files that were previously unloaded when the Layout file was created, and user input on a dialog window can cause PlotJuggler to crash when loading the layout file
How this was discovered:
-Have a Plotjuggler window open from a previous session with data loaded
-Load new data file and have PlotJuggler remove the previous data
-Set up layout for new data and save the Layout file with the "Save data source" option selected ("save custom transformations" also selected in my case but suspect this isn't relevant)
The clip below shows an example of creating the layout file (also see the note below)
PlotJugglerCreateMultiStepLayout.mp4
Note: I tried doing this several different ways and in one attempt (I think if the first file is loaded but you don't do anything with the data before loading the second) the layout file will not include the first file. The example video here may be such a case. I know it is repeatable if you load the first file, create a custom timeseries and plot it and then load the second file and unload the old data.
When the layout file is later loaded, the original file that was open is loaded, and then the second file is loaded and the user is given the following prompt:

PlotJuggler will crash if the user selects "No" in this dialog window:
PlotJugglerMultiFileDontUnload.mp4
Selecting "Yes" to remove the previously loaded data will let the second data file load without issue
PlotJugglerMultiFileUnload.mp4
Interestingly the layout file contains multiple files that had been previously loaded during the session, but only the last one to have been unloaded seems to get loaded when opening the layout file in PlotJuggler

It seems like the inclusion of files that have been unloaded doesn't serve a functional purpose and is undesirable behavior (this could lead to leaking sensitive information by including file info that was not intended to be shared)
Example files attached:
LayoutMultiFileLoadExample.zip
The text was updated successfully, but these errors were encountered: