ok I this is a system - gnome/kde/whatever settings thing
after chasing through the binary format, in sample doc the colour id
associated with the font used for the caption text has an id of 0x51,
there is no colour palette associated with this document so we fall down into
ColorData XclDefaultPalette::GetDefColorData( sal_uInt16 nXclIndex ) const
{
ColorData nColor;
if( nXclIndex < mnTableSize )
nColor = mpnColorTable[ nXclIndex ];
else switch( nXclIndex )
{
case EXC_COLOR_WINDOWTEXT3:
case EXC_COLOR_WINDOWTEXT:
case EXC_COLOR_CHWINDOWTEXT: nColor = mnWindowText; break;
case EXC_COLOR_WINDOWBACK3:
case EXC_COLOR_WINDOWBACK:
case EXC_COLOR_CHWINDOWBACK: nColor = mnWindowBack; break;
case EXC_COLOR_BUTTONBACK: nColor = mnFaceColor; break;
case EXC_COLOR_CHBORDERAUTO: nColor = COL_BLACK; break; //
TODO: really always black?
case EXC_COLOR_NOTEBACK: nColor = mnNoteBack; break;
case EXC_COLOR_NOTETEXT: nColor = mnNoteText; break;
case EXC_COLOR_FONTAUTO: nColor = COL_AUTO; break;
default:
OSL_TRACE( "XclDefaultPalette::GetDefColorData - unknown default
color index: %d", nXclIndex );
nColor = COL_AUTO;
}
where 0x51 corresponds to EXC_COLOR_NOTETEXT and mnNoteText is
initialised with
in sc/source/filter/excel/xlstyle.cxx
mnNoteText is initialised
mnNoteText = rSett.GetHelpTextColor().GetColor();
presumably that is picked up from the system ( and must be white in the
reporters case )
don't know what the real solution is here though to ensure that we have a decent
colour, maybe Michael has an idea
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1022640
Title:
[Upstream] VIEWING: Comments are not readable (shown in white over
yellow)
Status in LibreOffice Productivity Suite:
Incomplete
Status in “libreoffice” package in Ubuntu:
New
Bug description:
Sample spreadsheet created in Excel 2010 saved as xls format. It contains a
comment. It was never edited by LibreOffice.
Problem description:
If you open a simple file in xls format, cell comments are shown in white over
yellow colors. As a result, user cannot see the comment.
Steps to reproduce:
1. Create new spreadsheet in Excel 2007 or 2010
2. Insert a comment for one cell
3. Save as xls format
4. Open spreadsheet in LibreOffice
Current behavior:
The comment is in white over yellow
Expected behavior:
The comment should be in color "Automatic" and not white
Not reproduce in
*Windows 7 Professional SP1 64 bit
-LibreOffice 3.5.4.2
-LibreOffice 3.6.0 beta 3
*Ubuntu 11.10 Gnome Shell
*Fedora 17 x86_64 with Gnome Shell 3.4.2 Libreoffice 3.5.4.2 build ID:
350m1(build:2)
Reproduce in:
*Ubuntu 11.10 Unity with ttf-mscorefonts
-LibreOffice 3.4.4 OOO340m1 (Build:402) from Ubuntu
-LibreOffice 3.6.0.0.beta3 (Build ID: 3e2b862)
*Ubuntu 12.04 Unity x86_64
-LibreOffice 3.5.3.2 Version ID : 350m1(Build:2) from Ubuntu
-LibreOffice 3.6.0.0.beta3 (Build ID: 3e2b862)
*OpenSUSE 12.1 (x86_64) with KDE : 4.7.2 (4.7.2) "release 5" with
LibreOffice 3.4.5 OOO340m1 (Build:1505)
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libreoffice-calc 1:3.5.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jul 9 18:56:49 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1022640/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp