Description: This problem is very similar to bug 101142 (https://bugs.documentfoundation.org/show_bug.cgi?id=101142). When viewing a document in the print preview mode, the text color is the color the user chose in Tools > Options > Appearance > Items > Font Color. For instance, I have the Items: Font Color set to color #5B4636 and the Items: Document Background set color #F4ECD8. When I view the document in the print preview mode, the document background is the correct paper color (white), but the font color is the custom appearance color (#5B4636) when it should be black. I can confirm that the document would "print" properly with a white background and black text by creating a PDF of the document using Microsoft Print to PDF. Steps to Reproduce: 1. Select Tools > Options > Appearance. 2. Select New to create a new LibreOffice theme. Then, fill the Name of Color Scheme field in the Save Scheme dialog. Finally, select OK. 3. Select the System radio button in the Options section of the interface. 4. Select Font Color in the Items drop-down list. Then, select the Color radio button. Finally, select a distinct color in the color picker drop-down pane. (For instance, select #F44336 red.) 5. Select Apply. 6. If the application instructs you to restart the application, select any options to do so. 7. Open or reopen and edit a text document. 8. Select File > Print Preview. Optionally, also select Document Background in the Items drop-down list and select a distinct color for this interface item as well to verify that the Print Preview mode shows the text color INCORRECTLY (the theme color) and the document background color CORRECTLY (white). Actual Results: The text color in the Print Preview mode is incorrect (matching the Items: Font Color selection). The document background color is correct (white). Expected Results: The text color in the Print Preview mode should be correct (black, or any color the user chooses through text editing in the editor mode using the Font Color drop-down pane). Reproducible: Always User Profile Reset: Yes Additional Info: Following the steps to reproduce in safe mode and standard configuration produces the same result.
Created attachment 201305 [details] Standard editing interface with custom colors for document text and background Colors chosen in the standard editing interface for demonstrative purposes (blue background, red text).
Created attachment 201306 [details] Print Preview mode with incorrect (red) color for document text and correct (white) background
I can't reproduce the bug in Version: 25.2.4.3 (X86_64) / LibreOffice Community Build ID: 33e196637044ead23f5c3226cde09b47731f7e27 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-GB (de_DE); UI: en-GB Calc: threaded
(In reply to joseph.fishbeck from comment #0) > Actual Results: > The text color in the Print Preview mode is incorrect (matching the Items: > Font Color selection). The document background color is correct (white). Cannot confirm. Font color is black on white despite the document appearance is red. Please double check that your paragraph/character font color is set to Automatic. Version: 25.2.4.3 (X86_64) / LibreOffice Community Build ID: 520(Build:3) CPU threads: 32; OS: Linux 6.15; UI render: default; VCL: kf6 (cairo+xcb) Locale: de-DE (en_US.UTF-8); UI: en-US 25.2.4-2 Calc: threaded
(In reply to Heiko Tietze from comment #4) > (In reply to joseph.fishbeck from comment #0) > > Actual Results: > > The text color in the Print Preview mode is incorrect (matching the Items: > > Font Color selection). The document background color is correct (white). > Cannot confirm. Font color is black on white despite the document appearance > is red. Please double check that your paragraph/character font color is set > to Automatic. > > Version: 25.2.4.3 (X86_64) / LibreOffice Community > Build ID: 520(Build:3) > CPU threads: 32; OS: Linux 6.15; UI render: default; VCL: kf6 (cairo+xcb) > Locale: de-DE (en_US.UTF-8); UI: en-US > 25.2.4-2 > Calc: threaded I selected the whole text and then chose Font Color > Automatic. Unfortunately, the issue persists.
Please share an example.
(In reply to Heiko Tietze from comment #6) > Please share an example. Are you requesting other screenshots in addition to the two screenshots that I added as attachments to this bug? This issue occurs when I switch to Appearance > Font Color #5B4636 and also when I switch to #F44336. I suspect that it would occur if I applied different colors in the Font Color color picker drop-down pane. Does anyone have recommendations for troubleshooting this other than User Profile Reset?
Created attachment 201355 [details] test doc prepared on Win11 with recent master against 26.2, Options -> Appearance application 'Font color' set Teal (In reply to joseph.fishbeck from comment #7) > (In reply to Heiko Tietze from comment #6) > > Please share an example. > > Are you requesting other screenshots in addition to the two screenshots that > I added as attachments to this bug? > We wanted the source document so we could look at the text-style assignments of the document. However, I can reproduce the issue on Win build of recent master. A font color applied as affect from the Character... dialog correctly is applied in the print preview--and is actually printed (to physical color printer, gs based print, or MS Print-to-PDF virtual print driver). Alternatively, and the issue here, the Application 'Font color' assigned in the Tools -> Options -> Appearance panel 'Customizations' list box *is* being rendered in the LO Print Preview viewing mode. That appearance customization color *does not actually print*, nor does it render in the small preview thumbnail of the 'Print' dialog. The content remains WYSIWYG--just the use of the Application color in the Print preview mode is unhelpful. Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 497a4090de8a33704df4101fc078a48c4cf71101 CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
I still cannot reproduce the issue. Str: * Tools > Options > Appearance: Font color = Red * Dt+F3 => some dummy text with red font color * File > Print preview => black on white Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8c333826916948c9267d644df01b359870736bf1 CPU threads: 16; OS: Windows 11 X86_64 (build 22000); UI render: Skia/Raster; VCL: win Locale: de-DE (en_DE); UI: en-US Calc: threaded