Layout is not correctly saved when doing a trace
I created a Python script using ParaViews trace functionality to create a simple cone and then split the layout into 4 panes as shown here: Trace and everything uses default values. Once I saved the trace, I restarted PV with the --script flag to load the script and I get the following output: As you can see the RenderViews are all over the place.
I have actually debugged this script and what helped me was to create the render views with the detachedFromLayout flag set to true. I think one of the issues is that I do the splits while some panes do not have a render view yet, i.e. I have one render view, split this one horizontally and then split each of these two vertically. Only after that I create render views in these panes.
The resulting *py script is here: view-debug.py
Note also that the script contains the SplitVertical and SplitHorizontal functions which are not mentioned in the Python documentation: http://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/search.html?q=splitvertical&check_keywords=yes&area=default
Best, Arno