Issue 107400 - [sb111] Charts defaultcolors lost (all black)
Summary: [sb111] Charts defaultcolors lost (all black)
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Stephan Bergmann
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-03 08:29 UTC by oc
Modified: 2013-02-24 21:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description oc 2009-12-03 08:29:25 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)
Comment 1 Stephan Bergmann 2009-12-03 12:35:45 UTC
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>.
Comment 2 IngridvdM 2009-12-07 16:46:24 UTC
->sb, what will happen if the user migrates his settings from an older version
where the data is provided in hex form still?
Comment 3 Stephan Bergmann 2009-12-08 08:23:48 UTC
@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.
Comment 4 IngridvdM 2009-12-08 08:46:25 UTC
@sb, that is good news. Thanks! :-)
Comment 5 Stephan Bergmann 2009-12-10 12:50:44 UTC
(Due to issue 107578, hex notation is now supported for backward compatibility
by new configmgr, anyway.)
Comment 6 oc 2010-01-08 12:59:23 UTC
verified in internal build cws_sb111
Comment 7 Stephan Bergmann 2010-03-10 10:24:02 UTC
.