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

--- Comment #2 from Patrick (volunteer) <[email protected]> ---
(In reply to [email protected] from comment #1)
> Patrick, any thoughts on what we should do here? I presume the bBright code
> is there for a reason... We just got tripped up by Tahoe again I guess?

Not sure if this is too hacky, but the following debug patch works in my local
build without having to mess with the bBright code. Note: this bug doesn't
appear in Dark Mode since [NSColor windowBackgroundColor] returns 0x1e1e1e:

diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index ca5938b48431..5573984367e8 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1628,6 +1628,9 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
     Color aWindowBackgroundColor(getNSBoxBackgroundColor([NSColor
windowBackgroundColor]));
     Color aUnderPageBackgroundColor(getNSBoxBackgroundColor([NSColor
underPageBackgroundColor]));

+    if (aWindowBackgroundColor == COL_WHITE)
+        aWindowBackgroundColor = Color(0xf7, 0xf7, 0xf7);
+
     // Background Color
     aStyleSettings.BatchSetBackgrounds( aWindowBackgroundColor, false );
     aStyleSettings.SetLightBorderColor( aWindowBackgroundColor );

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

Reply via email to