Plugin entries disappeared from Load State window between ParaView 5.6 and 5.8
I’ve noticed some changes in the way ParaView handles several custom plugins when a .pvsm state file is loaded.
Theses plugins are based on the vtkPythonProgrammableFilter class and uses a XML file to display some parameters in the properties panel. In order to define input and output file path, we used the following XML syntax to define filechooser options:
<Documentation>Path to the TXT file to generate</Documentation> <FileListDomain name="files"/> <Hints> <FileChooser extensions="txt" file_description="Result file" /> <AcceptAnyFile/> </Hints>
With ParaView 5.6, the paths defined with that syntax appear in the “Load State file” window when the option “Choose File Names” is activated.
Here is a screenshot of ParaView 5.6 with a parameter "Chemin" defined for the test plugin detailed below:
With ParaView 5.8, that window is no longer displayed. It seems that plugin entries have disappeared from the list of filenames of a state file since Paraview 5.6.
As there is no other filename in my test case, the "Choose filename window" is not displayed anymore.
Please find attached some files to reproduce that problem:
test_plugin.xml contains a simple filter named “XXX test plugin XML”, which takes a VTK dataset and a path in parameter and write the number of points of that dataset in that path.
pv56.pvsm : a simple state file generated with ParaView 5.6. It just connects a sphere source to that test plugin.
pv58.pvsm : the same state file generated with ParaView 5.8.