Spotlight Color is that of the Previous Character/Paragraph

I just noticed something peculiar when working with styles in LO writer. After having turned on spotlight (G. “Hervorherbung”) in the styles panel, I wondered why, of two instances of the spotlight marker for the character style “Nummer”, one was white, while the other was black. The text was colored in black in both cases.

From what I can tell, the color the indicator takes is sort of “inherited” (idk if that’s the right term) from the previous character or paragraph’s color. See below for a screenshot explaining what I mean. Because the document contains sensitive info, I can’t upload the document here.


All annotations—except the numbers—are in cyan.

This behavior isn’t really an issue, I just found it peculiar and asked myself whether this is the intended behavior.

Edit: I forgot to provide the version information—here it is:

Version: 26.2.0.3 (X86_64)
Build ID: 620(Build:3)
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded

You show character style Spotlight but we don’t know if you have direct formatting overlaid on your styled text. For accurate analysis, provide a sample document reduced to what is shown in the screenshot.

There is no direct formatting applied, I made sure this is the case by removing direct formatting beforehand.

However, I have generated a test document to further investigate the issue. As shown in the screenshot below, all of these means of formatting seem to affect the color of the spotlight marker:

  1. Whole preceding paragraph formatted through direct formatting;
  2. Whole preceding paragraph formatted through a paragraph style;
  3. Last character of preceding paragraph formatted through direct formatting; and
  4. Last character of immediately preceding paragraph formatted through a character style.

I have attached the document I used (Edit: Had attached old/wrong version of doc).

Spotlight_replication_document.odt (18,3 KB)