[Libreoffice-bugs] [Bug 125156] Option “Automatically detect high contrast mode of operating system“ does not work

2022-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=125156

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||2514

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 125156] Option “Automatically detect high contrast mode of operating system“ does not work

2019-05-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=125156

--- Comment #2 from V Stuart Foote  ---
IIUC autodetection of the os set HC happens here:

https://opengrok.libreoffice.org/xref/core/vcl/source/window/settings.cxx#149

and then colors are set/ignored here:
https://opengrok.libreoffice.org/xref/core/svtools/source/config/colorcfg.cxx#208

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 125156] Option “Automatically detect high contrast mode of operating system“ does not work

2019-05-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=125156

V Stuart Foote  changed:

   What|Removed |Added

 Resolution|--- |NOTABUG
 Status|UNCONFIRMED |RESOLVED
 CC||vstuart.fo...@utsa.edu

--- Comment #1 from V Stuart Foote  ---
Can not confirm. This works as well as it has from > 4.2.  On Windows 10 Home
64-bit en-US (1809) with current master/6.3.0

This is kind of a mess, see bug 35365 and fix in bug 71511 [1]

Issue remains that os/DE "Dark Desktop" themes (see bug 118320) are distinct
from HighContrast accessibility themes which are flagged from the os/DE as
such.

Presently we split the difference--we detect HC always, but still set theme
based on colors passed from DE--only FONTCOLOR and DOCCOLOR respond to the a11y
HC checkbox.  

When System HC is active--the colors for DOCCOLOR and FONTCOLOR are read as set
by the HC theme.

But if the Tools -> Options -> Accessibility "Automatically Detect HighContrast
Mode of Operating System" is left unchecked, System HC is *still* detected and
LibreOffice responds: Icons will shift to Sifr, menu text and back ground will
change.

Without the checkbox only DOCCOLOR and FONTCOLOR do not pickup colors from the
HC theme--and those will remain as set in user profile or default (Black font
on White document).

The system HC flag is distinct from new Windows dark desktop modes--which do
not trigger the HC handling.

=-ref-=
[1]
https://cgit.freedesktop.org/libreoffice/core/commit/?id=7b0e8b9c8541250be65ce228b67ff5adb105b732

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs