Custom filters spread like viruses

ParaView seems to append all custom filters to any statefile that is saved (even custom filters that are not used), and further stores any custom filter, that is read from a statefile, in the local config.

This way, custom filters spread like viruses. We noticed this, when a member of our lab created a custom filter using an external plugin, that is no longer available. Anyone, who loaded one of his statefiles, was greeted with an error message, and all future saved statefiles had the same effect on any unsuspecting user’s ParaView.

To reproduce:

  1. Load the example statefile example.pvsm (1.9 KB)
  2. (optional) restart ParaView -> error message is printed
  3. Save a new statefile
  4. Delete your ParaView config (or pass the statefile to someone else) and load the new statefile -> error message is printed
  5. goto 3

Of course, this can be easily fixed by deleted the corresponding custom filter via Tools->Manage Custom Filters, but since most of us never used this feature, it took us a while to figure that out.

1 Like

Written up here:

Thanks for reporting, and the great bug report.


This should now be resolved in ParaView master and will be included in ParaView 5.8. Here’s the MR that fixes it.

1 Like