Font Color and Character Highlighting Color Linked in LO 24.2.4?

Greetings…
Last week, I updated my LO to v24.2.4.

Post update, I have noticed what appears to be a bug that occurs in LO Writer when I attempt to make changes to already highlighted text. When I select the highlighted text that I want to change, then select the new highlight color from the Character Highlighting Color drop-down menu, the text color changes from black (default) to white, in addition to the new highlight color that I just selected.

Previously, when I used LO v7.6.7 Writer, changes that I made to text highlight color never also changed the existing text color. Now, with LO v24.2.4, it appears that Font Color and Character Highlighting Color are linked. Is there some setting that I am unaware of where I could “unlink” the Font Color from the Character Highlighting Color?

Please advise. Thanks!

You probably customised your 7.6.7 because the 24.2.4 behaviour was already there in “stock” 7.6.7.2.

Your problem description doesn’t include the font colour property as reported by Format>Character, Font Effects tab. When Font color is set to Automatic, colour is changed to keep contrast between foreground and background.

My guess is you changed default font colour in 7.6.7 and you didn’t forwarded your change to 24.2.4.

I assume also that you apply highlighting colour with tool bar button (this is called direct formatting). For guaranteed stability, I recommend such “decorations” be applied to your text with a character style (eventually in the default character style contained in a paragraph style).

If you never heard of styles, read the Writer Guide for an introduction and practice to get used to them.

Thanks for explaining this. I have just moved from Ubuntu 22.02 to 22.04 and now LibreOffice writer has this default font effect of “automatic” font colour and I hate it! I often highlight with a bright green background colour and then this active font changes the font colour to white (which for me at least, with no particular colour blindness, is far worse contrast with the background). I definitely didn’t customise this. Is there a way I can set things so this is not the default? I am probably missing something obvious … but I don’t generally customise LibreOffice much at all and so I’m out of my comfort zone here! TIA, Chris

@cpsyctc There is a difference between customising the LO application (changing its UI and sometimes its behaviour) and adapting it to one’s needs. You handle the second case with template documents. These documents have “special” extensions ott (Writer), ots (Calc), otp (Impress), otg (Draw). They mainly contain styles, but they can also host initial contents to spare you the pain of typing repetitive “permanent-personal” data.

You start by creating an “ordinary” document with File>New>… where you customise the built-in styles and add your own. This document is made a template by saving it with File>Templates>Save as Template. It will be saved in a directory listed in Tools>Options, LibreOffice>Paths where you can add your preferred one so that the templates are not saved in obscure locations.

With File>Templates>Mange Templates, you can designate your default template. There is one for Writer, Draw, Calc and Impress.

If you don’t make your template the default one, create your document with File>New>Templates so that the new document is based on the template, inherits its style collection and remains associated to it (so that any update to the template is forwarded to the document next time you open it).

In your case, you want to highlight text. Is this a systematic highlight over all your text? In this case, customise Default Paragraph Style. Since it is the ancestor of all other styles, your modification will impact all others.

If you need to highlight only selected words, create a new character style you’ll name Highlight and set its Font Effects parameters. To highlight, apply this style on the selected word(s). To change the highlighting, modify the style and the modification is applied instantly to all occurrences. Of course, provided you have no conflicting direct formatting on the highlighted words.

Thanks again. All I want is for changing background colour, which I do quite a lot, NOT to change the font colour. To me these should stay distinct entities. Clearly LO have decided that active font colour is better. I think that’s wrong in perceptual psychophysics and typography but you/they outnumber me. So from your description I see that all I have to do is to edit the default writer document. Now I get hit with a second whammy. I can’t. It looks as if at some point, definitely on a different machine, presumably inherited from opening a file created on that earlier machine, I have set the default template store to ~/Nextcloud/templates. Now I find I simply cannot edit the default writer template. If I go to File/Templates/Manage I am shown ten templates not including default, all clearly more specialised. If I go to Tools/LibreOffice/Paths, select Templates and click on the path or hit edit I am shown two paths. One is marked with blob so presumably the default and is ~/Nextcloud/templates the other is a very long path under ~/.var/org.libreoffice.LibreOffice. That is probably ~/.var/org.libreoffice.LibreOffice/config/LibreOffice/4/user/, at least, if I go use File,Templates, Edit template, that’s the directory that opens … with no template files in it. However, if I put a template file there, default.ott within which I have set the font in the Default Paragraph Style to black not active that doesn’t change things: LO still opens new files with active font. Having lost over an hour exploring this I accept that when I create new files now the first thing I have to do is to edit the Default Paragraph Style. I know this sort of mess when defaults are changed can happen with any s’ware but I do hate it!

First remark: this is not a solution to the original question nor to your issue. Consequently, it should not have been posted as an Answer.

Second remark: you seem to drift towards another problem. You should then ask your own question, eventually mentioning this one to show you already explored AskLO.

Manipulating templates must not be done with your file manager because templates need to be “registered” with Writer (LO more generally) so that LO modifies its configuration. Simply adding a template in the template directory is not necessarily enough (in particular in …/LibreOffice/4/…

Templates have no reserved names. So, default.ott does not mean anything. Templates must first be “registered” with Files>Templates>Save as Template and then File>Templates>Manage Templates can make one of them the default.

Oh joy. I think this is the solution but, for anyone who hits this, the final bit is that in File>Template>Manage Templates is that you have to right click on the file you want (following ajlittoz’s instructions, default.ott in my case) and select the option to mark as default. Done.