Description: Hatching previews in area dialog are invisible with dark ui Steps to Reproduce: 1. Open Writer (dark UI) 2. Insert a shape 3. Right click the shape -> Area 4. Hatch tab Similar issue in the sidebar drop down Actual Results: Previews are hard to see Expected Results: No black on black effect Reproducible: Always User Profile Reset: No Additional Info: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7fddf33f70b5e496ca7e3936a845d47b9deca027 CPU threads: 8; OS: macOS 14.7.4; UI render: Skia/Raster; VCL: osx Locale: nl-NL (nl_NL.UTF-8); UI: en-US Calc: threaded
Created attachment 201249 [details] Image of the issue
But they are visible, just rendered as specified foreground color Black onto the automatic background color (drawn from os/DE color scheme). Unlike the 'Pattern' swatches the Background color for grid is off by default. So with a os/DE provided 'Automatic' Dark color scheme the "Black" (0, 90, 180 crossed) grids are following theme (and not the Document background which is not selected active). Try it with an appearance theme applied and active. Think the behavior is correct (though maybe not appealing). Alternative might be to somehow test/apply the 'Use white document background' value set at Tools -> Options -> Appearance.
From looking at the dialog I thought the background switch on/off toggles the appearance. It doesn't plus this setting is not stored with the area style. If enabled the background changes for the one shape but is not remembered even if a new style is created. Although the transparent background is correct, I tend to agree with the request. We may use the default shape background color, apply the current background in case of editing, and change if the background is set.