https://bugs.documentfoundation.org/show_bug.cgi?id=158992

            Bug ID: 158992
           Summary: "Spotlight" Should Only Number/Color Styles That
                    Actually Appear in Document
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: tex2002ans+libreoff...@gmail.com

Description:
When you use "Spotlight"/"Styles Highlighter" feature, there is a lot of visual
clutter.

If a Style occurs 0 times in the document, it SHOULD NOT get its own colored
box + number.

Steps to Reproduce:
1. Open attached document.
2. View > Styles (F11)
3. All the way in bottom-right of Styles sidebar:

- Check "Spotlight" box ON.

4. All the way in bottom-right of Styles sidebar:

- Click on the dropdown and choose between:
--- 4A. "All Styles"
--- 4B. "Applied Styles"

Actual Results:
4B = 13 Styles
4A = 134 Styles + different colored boxes
--- But only 13 actually show in the document itself.

Expected Results:
4B = 13 Styles
4A = 134 Styles, but only 13 should show colored/numbered boxes.

For example, after clicking 4A:

- Heading 1->3 = box
- Heading 4->10 = no box


Reproducible: Always


User Profile Reset: No

Additional Info:
Similar with the other dropdown options:

- Text Styles
- List Styles
- Index Styles

If the Style doesn't exist in the document, it shouldn't get a colored box yet.

And, for example, if you intended for a:

- Heading 4

subheading to exist in your document, and you:

- Have "All Styles" selected
- See it isn't there when "Spotlight" ON

you can investigate more closely.

- - -

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to