Personas in LibreOffice

Jan Holesovsky kendy at suse.cz
Fri Mar 8 04:51:14 PST 2013


Hi Machanch,

Michael Meeks píše v Pá 08. 03. 2013 v 10:01 +0000:

> > I have just install a persona into LibreOffce.. It happens to be a dark
> > image. This has obscure the menus which are in dark text so they are not
> > visable.
> 
> 	As Robinson points out - this is a known issue; this is the developers
> list however - so I assume you'll want some code pointers for fixing
> it ? :-)
> 
> 	If so - the colors come from:
> 
> 	vcl/inc/vcl/settings.hxx (StyleSettings)
> 
> 	the persona dialog is here:
> 
> 	cui/source/options/personalization.cxx
> 
> 	I guess it'd be worth un-tangling how the personas are read - and (as a
> first cut) just clobbering the colours when a persona is parsed.

Just to be more specific - you want to update

static void setupPersonaHeaderFooter()

in vcl/source/app/settings.cxx to update maMenuBarTextColor too.  The
color is available in aPersonaSettings as the next token after the
footer bitmap.

I've turned the bug into an Easy Hack, and added the instructions here:

https://bugs.freedesktop.org/show_bug.cgi?id=60542#c8

All the best,
Kendy



More information about the LibreOffice mailing list