[Libreoffice-ux-advise] [Bug 114147] Better support for DE themes to support Night mode/ Inverted colors in the LO GUI

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 3 15:50:14 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114147

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=35
                   |                            |365,
                   |                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=71
                   |                            |511

--- Comment #8 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Denis from comment #7)
> 
> You are talking about GUI. On my system LO already uses general (dark) OS DE
> theme, as I have said in my opening message. I am talking about the document
> colors: the document takes the most of the screen anyway and thus, the
> colors in the document influence your eyes much more. What was discussed in
> the previous two comments was using a custom theme for document
> repesentation.

What you request in OP is:

"So, something like a filter that applies a CSS that inverts colors in the
document (only visually, without changing the document). Even better if it
would invert colors for the text and tables and significantly reduce the
brightness of graphical elements (like images and diagrams) until they receive
mouseover event."

Arbitrarily inverting colors would not solve the general case. In fact LO
already is capable of setting a visual theme for the document based on colors
from the OS DE theme. But for bug 35365 [1] it was hard coded to COL_WHITE for
DOCCOLOR and COL_BLACK for FONTCOLOR--regardless of DE theme in use.

But that broke HC mode use for a11y, so in bug 71511 [2] LO now picks it up
from the Accessibility configuration for HC (even if the OS DE is not flagged
HC) and uses GetWindowColor() for DOCCOLOR and GetWindowTextColor() for
FONTCOLOR under OS DE theme control.

What is still needed is support of Dark themes for non-a11y use not bound to HC
mode of the OS DE (as noted by Bjoern in bug 71511 #11), to support dark theme
use. Those colors could be pulled from the OS DE theme, or could also have a
different fixed color assigned. It would likely require another Tools ->
Options -> View check box control.

Point is those colors would either be drawn from OS DE theme, or would be
generally fixed to support "dark" themes, but not be a simple reversal of the
COL_BLACK & COL_WHITE now used.

=-ref-=
[1] https://gerrit.libreoffice.org/#/c/238/

[2] https://gerrit.libreoffice.org/#/c/7484/

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list