Custom styles for Gramps reports have disappeared after upgrade

On a Win10pro x64 machine, I have recently upgraded from Gramps 5.1.4 to 6.0.8.

Once up and running in v6, I discovered that numerous settings for the creation of reports, both text and charts, had mostly default values, and nearly all my settings had disappeared.

In all cases, any previously-specified replacement list [on the Advanced tab] was not brought in from v5, or any note [also on the Advanced tab]. Many other specific settings were reset to defaults.

More seriously, the style sheets for various chart types have been reset to “default”, and in the relevant report interface, when I click on the drop-down of available styles in the style editor, any former custom style sheets are NOT listed as an option. The report_options.xml still contains the last instance of running of any of the reports under v5 [which lack the name of the current tree appended to the report name in the “module name”, and the name of the custom style sheet, if any, used for that last run, is still listed there], but it seems the report type has been unilaterally reset to basic defaults.

Wast this intentional? The reset to defaults is an irritation, but loss of practical access to custom style sheets, which took a great deal of work to create, has a big impact.

How can I read the custom styles back into Gramps 6 so that they are available for use?

Having to re-create the stylesheets would be an extreme pain. It takes an enormous amount of trial and error to get them working, and the xml in which their definitions are still recorded is not even remotely user-friendly.

One thing that would help here is if Gramps were to include a date/timestamp within the relevant module in the xml files, whenever the file is re-written, because it becomes really difficult keeping track of these based only on the timestamp of the file itself. It seems that if the xml style sheet for a particular report type already exists [from the prior version], Gramps 6 is not recognising the existence of the custom style sheet even after some other new custom style is created, presumably because it only ever looked for an xml of the form REPORTNAME TREENAME.xml, even though all of the definitions were there in the prior one of the form REPORTNAME.xml

Is it safe to paste the entire [start]sheet name…[end] block from the old xml into the “stylelist” of the new, or—if it does not yet exist because that particular report type has not yet been run under v6—rename the old xml to the form REPORTNAME TREENAME.xml ?

See this thread…