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

--- Comment #20 from Patrick Luby <[email protected]> ---
(In reply to Caolán McNamara from comment #18)
> It's certainly plausible there some "Auto" related problem wrt comment #16
> and buttons in normal dialogs, doesn't happen for me if I manually toggle
> the system from dark to light while it is open, but maybe there is some
> notification we miss if Auto is enabled and that triggers. I wonder if there
> is a way to control the "Auto" so that can be freely tested at any time
> rather than waiting for sunrise :-)

I think that my fix in the following patch may possible be a fix for comment
#16:

https://gerrit.libreoffice.org/c/core/+/148570

LibreOffice uses macOS' HITheme functions to draw native buttons, comboboxes,
listboxes, etc. It seems that HITheme doesn't always properly sense that the
window's dark/light mode setting has changed so I added code to forcefully
update the data/light mode setting when a window becomes the focus window.

I never did find a notification for "auto" dark/light mode in my NeoOffice work
but I am curious if the above patch will fix this bug. The patch should already
be in the LibreOffice 7.6 (master) nightly build if you want to try my fix.

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

Reply via email to