Bug 168670 - Spotlight > Paragraph Styles: Number and Color Mismatch
Summary: Spotlight > Paragraph Styles: Number and Color Mismatch
Status: RESOLVED DUPLICATE of bug 168025
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-03 00:02 UTC by Tex2002ans
Modified: 2025-10-03 03:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Word.Spacing.and.Hyphenation[Smart.Justification][English].odt (25.80 KB, application/vnd.oasis.opendocument.text)
2025-10-03 00:02 UTC, Tex2002ans
Details
Image showing color+number mismatch (174.28 KB, image/png)
2025-10-03 00:04 UTC, Tex2002ans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tex2002ans 2025-10-03 00:02:57 UTC
Created attachment 203120 [details]
Word.Spacing.and.Hyphenation[Smart.Justification][English].odt

In Writer:

1. Open attached document.
2. "Format > Spotlight > Paragraph Styles" ON.

- - -

Note: To make it easier to see bug...

In the Styles sidebar:

- Change from "All Styles" -> "Applied Styles" in the dropdown.

- - -

EXPECTED

The Spotlight boxes for the document and sidebar should match. The numbers+colors should be the exactly same.

So both should show:

- 0 = Light Blue
- 1 = Light Green
- 2 = Pink
- 3 = Purple
- 4 = Dark Purple

ACTUAL

Document shows:

- 0 = Light Blue
- 1 = Light Green
- 3 = Pink
   - Off-by-1 BUG starts here!
   - Matches sidebar number 2's color!
- 4 = Purple
   - Matches sidebar number 3's color!
- 5 = Dark Purple
   - Matches sidebar number 4's color!

- - -

I COULD get bug in:

Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 8; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

(Also in 25.8.1 "Safe Mode".)

I COULD NOT reproduce in latest master (2025-10-02):

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f44eca0ace11a195b0516a6cadab9be0a4857331
CPU threads: 8; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 Tex2002ans 2025-10-03 00:04:59 UTC
Created attachment 203121 [details]
Image showing color+number mismatch
Comment 2 Tex2002ans 2025-10-03 00:10:05 UTC
CCing Jim, since he fixes a lot of the Spotlight issues.

(And this is THE #1 GREATEST FEATURE of LibreOffice, by far!)
Comment 3 Jim Raykowski 2025-10-03 03:52:05 UTC
Hi Tex2002ans,

Thanks for cc'ing me and for the test file.

Looks like a duplicate of what was reported in Bug 168025 - Style numbers in navigator do not always match style numbers in highlight. The patch for it was backported to 25.8.3 by Aldolfo. Probably best to ask there to get it backported to 25.8.1.1.

*** This bug has been marked as a duplicate of bug 168025 ***