Description: A Dark theme switched on in Calc turns background dark and fonts to white and evgerything looks fine except a few icons that become invisible. The background turns also dark in Writer (I didn't check in other Libreoffice components), but fonts don't turn to white, making documents unreadable in Writer. Either the theme in Writer should be detached from the theme settings in Calc or brought in consistency with Calc. Steps to Reproduce: 1.In Libreoffice Calc go to Tools - Options - Libreoffice - Application colors - Color Scheme, choose Libreoffice Dark, press OK. The theme becomes dark. 2.Some icons become invisible. 3. Actual Results: Open any document in Libreoffice Writer: the theme is dark, the font color is black and the document is unreadable until you change the font color to white. Expected Results: Font color in Writer should become white when the theme is dark. Reproducible: Always User Profile Reset: No Additional Info: [Information automatically included from LibreOffice] Locale: en-US Module: SpreadsheetDocument [Information guessed from browser] OS: Linux (All) OS is 64bit: yes
Color theme Dark mode handling has been reworked for 7.4 and current 7.5 release please upgrade from the EOL 7.3 release and retest. Or install current release in parallel and retest with that.
I have installed LibreOffice_7.4.6.2_Linux_x86-64_deb to avoid the latest untested build. The bug is still there - in Calc everything looks good, but in Writer the background is dark and the font is dark blue. The text is unreadable. Moreover, when I open the .docx document it persistently offers to convert it into .epub (why?!) and edit it as an epub.
(In reply to Victor from comment #2) > I have installed LibreOffice_7.4.6.2_Linux_x86-64_deb to avoid the latest > untested build. The bug is still there - in Calc everything looks good, but > in Writer the background is dark and the font is dark blue. The text is > unreadable. Moreover, when I open the .docx document it persistently offers > to convert it into .epub (why?!) and edit it as an epub. 7.4 still requires you to enable experimental features. Tools -> Options -> Advanced panel.
I went to Tools -> Options -> Advanced panel -> Expert configuration -> LibreOfficeDark -> FontColor. Its type is set to void, value is 0. I tried assigning a value to it, but that does not change the font color in Writer. What kind of value should I assign?
Nope, all you should need to do is check the "Enable experimental features" box on the panel and restart LibreOffice. No need to open the 'Open Expert Configuration' dialog to make changes. Best now to delete (or backup) your LibreOffice profile and start testing the dark color theme handling with a fresh user profile.
Also, you really should move onto the 7.5 release, rather than running with Experimental feature support at 7.4
Also, if you are using the Tools -> Options -> Application Colors Color Scheme entry LibreOffice Dark the two values to work with are 'Document background' (set to Dark Gray 3) and 'Font Color' (set to Automatic) Applying a color scheme here overrides any color passed in from os/DE theme, and the "LibreOffice Dark" is more an example theme setting some of the UI elements to other than Automatic. If the 'Automatic' values of the default LibreOffice theme, or what is in 'LibreOffice Dark' do not work for you os/DE--you can adjust what you need there and save it to your own LibreOffice color scheme. The handling of the Automatic values for document/UI foreground/background colors is what has been reworked for 7.4 (experimental) 7.5 and 7.6 Start in 7.4 with a profile reset, and then work in the Application Colors panel to tweak your UI (keep the Automatic defaults, but set Document background and Font color to your liking). DO NOT USE the 'Personalization' themes for now they remain garbage.
(In reply to V Stuart Foote from comment #5) > Nope, all you should need to do is check the "Enable experimental features" > box on the panel and restart LibreOffice. No need to open the 'Open Expert > Configuration' dialog to make changes. > > Best now to delete (or backup) your LibreOffice profile and start testing > the dark color theme handling with a fresh user profile. I did that at first - enabled the experimental features, and checked the result - the font was dark blue on the dark background. Then I went to look for more detailed settings and found the FontColor setting.
(In reply to V Stuart Foote from comment #6) > Also, you really should move onto the 7.5 release, rather than running with > Experimental feature support at 7.4 OK, I'll download the 7.5.1
OK, I've purged 7.4.6.2 and installed 7.5.1 - nothing changed. what did I do wrong? Experimental features were still enabled. I've disabled them. How to delete my profile?
See this project Wiki https://wiki.documentfoundation.org/UserProfile#Default_locations The make your adjustments in Tools -> Options -> Application Colors Stay with the 'LibreOffice' "color scheme" and adjust only 'Document background' from Automatic to something like "Dark gray 3" from the picker and 'Font color' from Automatic to a contrasting color, something like "Lime" from the picker. That's all that is needed. If you select for use the "example" 'LibreOffice Dark' "color scheme" just note that rather than Automatic some of the element colors have already been assigned values. When set Automatic you will get WYSIWYG print style black FG on white BG.
I am sorry, that was my bad. I occasionally found the font color in my Writer file was set not to Automatic, but to Dark Blue. It looked almost like black and I didn't know it was not Automatic. That's why I had Dark Blue on dark background. When I changed the font color to Automatic, the font color became white on dark background. So, my LibreOffice Dark theme works fine. Let's close this bug.