Apache OpenOffice (AOO) Bugzilla – Issue 107400
[sb111] Charts defaultcolors lost (all black)
Last modified: 2013-02-24 21:18:46 UTC
In cws_sb111 open a new spreadsheet (or writer...) and insert a chart => the chartcolors are all black. (see also Tools-Options-Charts-Default Colors)
officecfg/registry/schema/org/openoffice/Office/Chart.xcs used hex numbers (starting with "0x") in a value of type oor:long-list, which appears to be an undocumented feature of the old configmgr implementation. (oor:long-list is based on xs:long, which only supports decimal numbers, see <http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#long-lexical-representation>. Consequently, the new configmgr implementation also only supports decimal numbers.) Fixed as <http://hg.services.openoffice.org/cws/sb111/rev/62944ee586b0>.
->sb, what will happen if the user migrates his settings from an older version where the data is provided in hex form still?
@iha: The hex values only appeared in <basis>/share/registry/org/openoffice/Office/Chart.xcs, which is not migrated (it is replaced by <basis>/share/registry/main.xcd during an updated). If the user made additional settings of those color values through the OOo UI, those would have been written to the UserInstallation registry data by the old configmgr as decimal values; migration of UserInstallation registry data will thus handle them correctly. Only if the user made additional settings of those color values by manually editing UserInstallation registry data files---and used hex notation when doing so---would a problem arise.
@sb, that is good news. Thanks! :-)
(Due to issue 107578, hex notation is now supported for backward compatibility by new configmgr, anyway.)
verified in internal build cws_sb111
.