Improve ParaView settings files organization
I think we can improve the way ParaView stores settings. Here is the typical content of the user settings directory:
> ls .config/ParaView
d Macros
d Icons
ParaView5.10.1.ini
ParaView5.11.1-dr.ini
ParaView5.11.1.ini
ParaView5.11.2.ini
ParaView5.12.0-dr.ini
ParaView5.12.0.ini
ParaView.conf
ParaView-UserSettings.json
d PythonSwap
d Scripts
servers.pvsc
Here are different questions about that:
-
--dr
means disable registry, i.e. "do not load settings". So isParaView<version>-dr.ini
really needed ? -
ParaView.conf
is the file created when using defaultpqSettings
instance instead of the one configured by the ParaView application. So I think it should not be there (and here is a related MR to remove this file: !6602 (merged)) -
.ini
files are version-dependent, while.json
is not. Is that truly intended ? - Using a newer version of ParaView for the first time does not reuse at all older settings. So keeping preference requires manual operation. (for instance custom shortcuts, default UI configuration and so)
-
.json
seems to be proxies/properties default values while.ini
is more interface stuff, but not sure if it is documented somewhere.