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

Patrick (volunteer) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |165266

--- Comment #10 from Patrick (volunteer) <[email protected]> ---
(In reply to Patrick (volunteer) from comment #9)
> I really think ThemeColors needs a call to dump its cached values and reload
> with the current light/dark mode. That is the piece that is missing IMHO.

Forgot to mention that this might be the cause of tdf#165266 so adding that as
a dependency of this bug. The problem is how to enable vcl to call directly to
the ColorConfig object in svtools. Can't link vcl to svtools as svtools is
already linked to vcl.

Probably we can use vcl's "notify listeners" to call into the ColorConfig
object. But the key here is that when the macOS light/mode preference is
changed, we will first notice it in the native vcl code and then need to
"bubble up" that change to the rest of the LibreOffice code.

In contrast, changing the light/dark mode in LibreOffice's Appearance panel
works in the opposite direction: the cui code pushes the change down to vcl.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=165266
[Bug 165266] default Automatic Appearance theme Light and dark mode Radio
Button set opposite to System sets unusable colors of background and typeface
(comment 5)
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to