<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Better support for DE themes to support Night mode/Inverted colors in the LO GUI"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=114147#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Better support for DE themes to support Night mode/Inverted colors in the LO GUI"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=114147">bug 114147</a>
from <span class="vcard"><a class="email" href="mailto:den_lin@posteo.de" title="Denis <den_lin@posteo.de>"> <span class="fn">Denis</span></a>
</span></b>
<pre>(In reply to V Stuart Foote from <a href="show_bug.cgi?id=114147#c8">comment #8</a>)
<span class="quote">> (In reply to Denis from <a href="show_bug.cgi?id=114147#c7">comment #7</a>)
> >
> > 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 <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Wrong automatic text color "dark grey" with black background for some GNOME themes"
href="show_bug.cgi?id=35365">bug 35365</a> [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 <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - Writer no longer uses Text and Background Colours from Windows High-Contrast theme for displaying document"
href="show_bug.cgi?id=71511">bug 71511</a> [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 <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - Writer no longer uses Text and Background Colours from Windows High-Contrast theme for displaying document"
href="show_bug.cgi?id=71511">bug 71511</a> #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] <a href="https://gerrit.libreoffice.org/#/c/238/">https://gerrit.libreoffice.org/#/c/238/</a>
>
> [2] <a href="https://gerrit.libreoffice.org/#/c/7484/">https://gerrit.libreoffice.org/#/c/7484/</a></span >
If what is currently discussed, with picking up DE theme and auto adjusting
accessibility options is solving someone's problems, that's fine - but it has
nothing to do with my original request (the name of which was different).
There were 2 main points: inverting all colors (ALL colors, not just black and
white) and the possibility to quickly turn it on/off.
Concerning the second:
"It would be nice if LibreOffice had some kind of "night mode" that when turned
on would draw the picture of the opened documents with inverted colors"
-->
"when turned on"
"qpdfview has a hot key that inverts colors for the opened documents, maybe the
same could be implemented in LibreOffice?"
And concerning the first: the whole point is inverting ALL colors, because no
theme is going to account for all colors that can be assigned by the sender of
the document manually
(<a class="bz_bug_link
bz_status_NEW "
title="NEW - Better support for DE themes to support Night mode/Inverted colors in the LO GUI"
href="show_bug.cgi?id=114147#c5">https://bugs.documentfoundation.org/show_bug.cgi?id=114147#c5</a>).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>