Description: when i use dark mode in LO writer the background color is shown as black and the font color shown as white. but the footnote separator also should shown as white. but in the settings there is no: automatic color for it. and the styles of footnote separator is not shown correctly in dark mode: black in black. Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: 420(Build:2) CPU threads: 4; OS: Linux 6.9; UI render: default; VCL: kf6 (cairo+wayland) Locale: ar-DZ (en_US.UTF-8); UI: en-US 24.2.2-3 Calc: threaded OS: manjaro Actual Results: separator not shown Expected Results: separator color should be automatic and should be white when in dark mode Reproducible: Always User Profile Reset: No Additional Info: the footnoetes style should be shown correctly
this problem also occurs with: table borders and frame borders.
Reproduced: Format > Page style > Footnote shows that the separator line uses Black by default. I think it should use the same Automatic colour as the font. Repro in: Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: ae798781ef4df7a1fdef13af0bc459bf4f6e7b4c CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded ...and as far back as OOo 3.3 (although back then, the colour couldn't be changed in the Page Style dialog). Hossein, possibly an easyHack?
Created attachment 194378 [details] screenshot of issue
Confirmed that Word 2010 treats the separator color as COL_AUTO - it turned white on a black page. LO does not have the option to chose COL_AUTO for the separator color.
git grep -i "separator line" results in sw/uiconfig/swriter/ui/footnoteareapage.ui and git grep -20 footnoteareapage.ui points to sw/source/ui/misc/pgfnote.cxx where we see that this is a SwPageFootnoteInfo (sw/source/core/layout/pagedesc.cxx) where m_LineColor is never initialized, so it must be using Color's default of black (include/tools/color.hxx). constexpr Color() : mValue(0) // black Noel just told me that COL_AUTO is the same as COL_TRANSPARENT - so it just depends on the implementation whether it is invisible or the opposite of the background. For lines (like the separator) it appears to be implemented as COL_TRANSPARENT - since I can't see the line at all when I forced it to COL_AUTO.