Hi,
for quite a while now OOo has supported "High Contrast Mode" - an
accessibility feature that makes OOo display its UI and parts of the
document in a different color set that guarantees a high contrast
between foreground and background (e.g. white text on black background).
Historically this was always a "hight contrast black" mode, that is the
high contrast mode was light foreground on dark background. And
consequently all places in the code having to decide whether high
contrast was active, decided so on the fact that the background color is
dark (not necessarily black since there are e.g. some high contrast
themes that feature light yellow on dark blue for this).
Up came issue 35482 [1] which (rightfully) says, that there are dark
desktop themes, too, that are not high contrast and that the user in
that case would want to switch our behavior off in order to get e.g. the
normal images in the toolbars. Up to recently these desktop themes were
rather few, however some Linux distributions are now switching their
default to such themes - which makes a re-evaluation of our current HC
strategy necessary.
To solve this issue we'd have to change the current behavior of "dark
background = high contrast" to a "high contrast is a separate property"
kind of behavior. We already have such a flag, but up to now it was not
to be used except in cases where the background on which something was
to be rendered was not know at the time of processing (e.g. metafiles
can have the problem that they get written ahead of actual rendering).
So for changing the high contrast behavior I propose to change our code
to use the formerly strongly discouraged HC flag and rely on its correct
setting to decide what (e.g) icon set to render.
Unless someone objects I will change the according code instances (of
which there are quite a few :-( ). Opinions ?
Kind regards, pl
[1] http://www.openoffice.org/issues/show_bug.cgi?id=35482
--
Sanity is just a bad excuse for a lack of imagination.
-- Author unknown
Registered Office: Sun Microsystems GmbH, Sonnenallee 1, D-85551
Kirchheim-Heimstetten
Commercial register of the Local Court of Munich: HRB 161028
Managing Directors: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Chairman of the Supervisory Board: Martin Häring
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org