Bug 165999 - Character highlighting continues the text with white background until the paragraph end
Summary: Character highlighting continues the text with white background until the par...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: high normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Highlight-Color LibreOffice-Themes
  Show dependency treegraph
 
Reported: 2025-04-01 09:55 UTC by Heiko Tietze
Modified: 2025-06-06 17:55 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (146.60 KB, image/png)
2025-04-01 09:55 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2025-04-01 09:55:43 UTC
Created attachment 200124 [details]
Screenshot

If the document background is dark (automatic settings) and some parts of the text are highlighted, the background color of the following text does not use transparent color or the automatic dark but continues in white. Happens for DF as well as CS.

The screenshot shows the STR
* make sure the appearance is set to automatic with a dark system theme
* insert some text like lorem+f3
* select a word and highlight it
=> the text continues in white; see also the Styles Inspector at the caret somewhere after the highlighted part
Comment 1 Heiko Tietze 2025-04-01 09:56:25 UTC
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 32; OS: Linux 6.13; UI render: default; VCL: kf6 (cairo+xcb)
Locale: de-DE (en_US.UTF-8); UI: en-US
25.2.2-1
Calc: threaded
Comment 2 Heiko Tietze 2025-04-03 12:48:19 UTC
No issue with

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ce613d65dd3cbf3a6c153201ac81730813691821
CPU threads: 16; OS: Windows 11 X86_64 (build 22000); UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded
Comment 3 Mateusz Wlazłowski 2025-06-06 17:55:07 UTC
Bibisected using linux-64-25.8

commit e0d4d178caff1414a9a21fa57f06bc8d4d2c389a
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date:   Mon Jan 13 15:03:05 2025 +0200
Change alpha behavour of OutputDevice::SetFillColor


On the latest bibisect build I had to manually set the background of the document to black as changing the theme from/to Dark made no difference

Same issue of changing the theme for today's master build


The behavior is present up to the lastest bibisect build (Build ID: 87b3b8e6990b394baa74aec8701cd097f6c0c646)
The difference with the master build is that setting the background color of just one word, sets the background color of the whole line

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: c4b3f7a6f9e9f1856b76ed398f5e2cd2d65ea417
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded


Adding to CC: Noel Grandin