Bug with file browser property
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
To add a file browser widget to ParaView GUI by means of a property in the sever manager configuration file for a plugin filter (vtkSampleFilter), a dummy file name, i.e., 'DummyFileName', has to be added to vtkSampleFilter, and particularly to the XML file (WithDummy.xml) BEFORE the intended file name property. The lack of such a dummy file name property in the XML file (WithoutDummyWithDomain.xml) just prevents the expected file browser from showing up in ParaView GUI. Only a plain file name widget (WITHOUT browser capability) is supported if no dummy file name property is used (WithoutDummyWithoutDomain.xml).
Attached are three plugins, libWithDummy.so and libWithoutDummyWithDomain.so, and libWithoutDummyWithoutDomain.xml, corresponding to WithDummy.xml and WithoutDummyWithDomain.xml, and WithoutDummyWithoutDomain, respectively.
( 1) Run ParaView ( 2) Load plugin libWithoutDummyWithDomain.so ( 3) Open a vtu data file (ParaViewData/Data/quadraticTetra01.vtu) and Apply ( 4) Find and apply filter 'Sample Filter Without Dummy but With Domain'
The expected file browser does not show up.
( 5) Run ParaView ( 6) Load plugin libWithoutDummyWithoutDomain.so ( 7) Open the a vtu data file (ParaViewData/Data/quadraticTetra01.vtu) and Apply ( 8) Find and apply filter 'Sample Filter Without Dummy and Without Domain'
a plain file name widget shows up, though does not support file browser.
( 9) Run ParaView (10) Load plugin libWithDummy.so (11) Open the a vtu data file (ParaViewData/Data/quadraticTetra01.vtu) and Apply (12) Find and apply filter 'Sample Filter With Dummy'
The expected file browser shows up, but with the help of an invisible dummy file name property.
Please note vtkSampleFilter is a NULL filter that does nothing. It is just used here to show the bug with file browser property.