Re: Colors in Options

Eustace <[email protected]>
Newsgroups gmane.comp.openoffice.questions
Message-ID <[email protected]>
On 2011-09-17 18:17 Ariel Constenla-Haile wrote:
> Hello Eustace,
>
> On Wed, Sep 14, 2011 at 01:44:39AM -0400, Eustace wrote:
>> 2 questions on colors:
>>
>> (1) In the Options>  OpenOffice.org>  Appearance>  Custom colors,
>> some elements have a check box in front and other do not have one.
>> What's the difference?
>
> You can see the difference with the following example:
>
> * create a new text document
> * select Tools - Options - OpenOffice.org - Appearance
> * in the General category, change the Text boundaries options as
> * follows:
> ** change the color setting from Automatic to Blue
> * press Ok to confirm your changes
>
> Now, back to the text document, the text boundaries are blue.
>
> Then go back to the Tools - Options dialog, and uncheck the check box in front of
> the Text boundaries option.
> Confirm your changes.
> Back to the document, it has NO text boundaries, because unchecking that
> options turns them off.
>
> Go back to the Tools - Options dialog, check that option again, and text
> boundaries are blue again.
>
>> Does unchecking an element that you have
>> changed makes the color setting automatic?
>
> no unchecking an element turns the setting off (that's the meaning of
> that column "On", checking turns the element on, uncheching turns it
> off).
>
>> In that case, if an
>> element is set to automatic, it shouldn't matter if the checkbox is
>> checked or not, right?
>
> No. If the element color is set to automatic, but the element is off (=
> unchecked), the element won't be displayed:
> * if text boundaries are off, no text boundaries are displayed
> * if Field shading is off, fields won't be highlighted with a color shade
> * etc.
>
>> (2) Since I use white on blue color scheme in my system, the title
>> lines in the same dialog (eg. General, Text Document, HTML Document)
>> have a gray background (132, 132, 132) which makes the white text
>> difficult to read. What is the element that I should change to make
>> the title line background darker?
>
>
> Looking at the code
> http://hg.services.openoffice.org/OOO340/file/12fa3ee3d107/cui/source/options/optcolor.cxx#l847
> it seems the background color of the categories is hard-coded to
> COL_LIGHTGRAY,

    844     if ( bHighContrast )
    845         aBackColor = rStyleSettings.GetShadowColor();
    846 	   else
    847 		aBackColor = Color( COL_LIGHTGRAY);

So the problem is that they suppose that unless the user has set a High 
Contrast theme he is using black on white colors. But I never use 
Windows High Contrast because of certain problems, preferring to use a 
regular theme, and change the colors there (though I do have set high 
contrast colors for the OOo Help).

I am wondering whether the Shadow Color is the color of the bars or or 
the 3D objects, and right after I reset the Font color the program 
perceives momentarily that I am using high contrast *colors* and uses 
this color, but if I close the dialog and open it again it forgets it, 
and just checks if the system *theme* is high contrast, which it isn't.

It seems to me that this if else shouldn't be there and just set the 
color in line 845 to Shadow Color unless it is inappropriate for the 
usual colors; or else, use another criterion for deciding to use it or 
not, checking the font and background colors.

  that is
> http://hg.services.openoffice.org/OOO340/file/12fa3ee3d107/tools/inc/tools/color.hxx#l72
> RGB( 0xC0, 0xC0, 0xC0) in hex, or (192, 192, 192) in decimal (I have no idea why it
> gives you 132, 132, 132).
>
> So the answer is no, you can't change that. You'll have to submit a bug
> report.
>
>
> Finally, please notice that OpenOffice.org is now a project incubating
> at Apache, and this mailing list may soon be shut down, so you should
> subscribe to the new mailing list at Apache:
>
> To subscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> Regards

I send another reply to the newsgroup which I do not see in the server 
(yet). I said that instead of subscribing to a mailing list, my second 
choice to a newsgroup would be an Internet forum.

Thanks,

emf

-- 
It ain't THAT, babe! - A radical reinterpretation
https://files.nyu.edu/emf202/public/bd/itaintmebabe.html

-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.