This bug has been around for a LONG time. Seems minor, but over the years... How to reproduce: 1. Copy and paste this sentence into Libreoffice Writer (yes, this one!). 2. Mark the words "paste this sentence into" and highlight them in a background color of your choice (for instance, bright yellow). 3. Doubleclick the word "paste". 4. Type "insert" instead. 5. RESULT: The word "insert" isn't highlighted anymore. The expected result is that, if you replace a word within a highlighted section, it should remain highlighted.
PS: Is this some kind of punishment for posting a bug that you're posting my mail address for all to see?
I confirm it with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: aa6d11771d085803cdb811579f47debc30c4d94b CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded I assume, step 2 is about character highlighting and not background color (this would color the whole paragraph) I'm sure, there is a similar report, but I couldn't find it.
(In reply to spam from comment #1) > PS: Is this some kind of punishment for posting a bug that you're posting my > mail address for all to see? I think this happens, because your mail address is also your user name.
Note that this behavior isn't about highlighting per se. You get the same effect in instead of highlighting you apply any (?) DF, e.g. boldfacing the text, or changing the font family etc. as step (2.) in the reproduction instructions.