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

Heiko Tietze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Setting style color to      |Stylist not using document
                   |black makes hard to read    |colors making it hard to
                   |style name                  |read fonts not using
                   |                            |automatic color
           Severity|enhancement                 |normal
                 CC|                            |[email protected]

--- Comment #18 from Heiko Tietze <[email protected]> ---
With a dark theme the control background is dark while the document color
depends on the options. That results in black on white for automatic font color
at the document and white on dark grey at the Stylist. Using explicitly black
makes it unreadable.

Possible solution is to set the
m_xTreeBox->set_background(svtools::ColorConfig().GetColorValue(svtools::DOCCOLOR).nColor);
in StyleList::Initialize(). Works for gen/gtk3 but not kf5 as the treeview
never fills the whole scrollwindow behind (haven't tested other systems).

Worse problem is the expander icon loaded via mpTreeImpl->SetExpandedEntryBmp(
pEntry, maDefaultExpandedImage ); in TreeControlPeer::createEntry() resp.
SvTreeListBox::SetExpandedEntryBmp(). The static image will not adjust to the
entry color (I suspect trouble for alternating row colors too) and will become
white on white.

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

Reply via email to