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

Katarina Behrens (CIB) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyInteresting,
                   |                            |easyHack, skillCpp

--- Comment #15 from Katarina Behrens (CIB) <[email protected]> ---
Code pointers:

Formerly svtools, now vcl treelistbox.cxx, SvTreeListBox::PaintEntry1 func.
This chunk of code messes it up:

// if the face color is bright then the deactive color is also bright
// -> so you can't see any deactive selection
if (bHideSelection && !rSettings.GetFaceColor().IsBright()
    && aWallpaper.GetColor().IsBright() !=
rSettings.GetDeactiveColor().IsBright())
{
    aNewWallColor = rSettings.GetDeactiveColor();
}
// set font color to highlight
if (!bCurFontIsSel)
{
     rRenderContext.SetTextColor(aHighlightTextColor);
     rRenderContext.SetFont(aHighlightFont);
     bCurFontIsSel = true;
}

aWallpaper.SetColor(aNewWallColor);

Since default text hilight colour is white/light grey in Qt and deactive colour
(what?) is also light grey, things go down the drain from there.

Those colour are set in Qt5Frame::UpdateSettings, it's the StyleSettings thingy

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to