Summary: | "Spotlight" Should Only Number/Color Styles That Actually Appear in Document | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Tex2002ans <Tex2002ans+LibreOffice> |
Component: | Writer | Assignee: | Jim Raykowski <raykowj> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | heiko.tietze, quikee, raykowj, Tex2002ans+LibreOffice |
Priority: | medium | ||
Version: | 7.6.4.1 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | target:24.8.0 inReleaseNotes:24.8 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103459 | ||
Attachments: |
DOCX with 13 Applied Styles
GIF Showing "Applied Styles" vs. "All Styles" + Visual Clutter Demo of proposed enhancement |
Description
Tex2002ans
2024-01-03 00:13:52 UTC
Created attachment 191716 [details]
DOCX with 13 Applied Styles
Created attachment 191717 [details]
GIF Showing "Applied Styles" vs. "All Styles" + Visual Clutter
I am: - CCing Jim Raykowski (since he does a lot of sidebar/Navigator/Spotlight stuff). - Adding "Sidebar UI/UX" metabug. (Should a new metabug be created specifically for this "Spotlight" feature?) Created attachment 191746 [details]
Demo of proposed enhancement
Hi Tex2002ans,
Does the attached demo track with your proposal?
(In reply to Jim Raykowski from comment #4) > Hi Tex2002ans, > > Does the attached demo track with your proposal? Yes, Jim! That's EXACTLY how I imagined it! :P (In reply to Tex2002ans from comment #5) > (In reply to Jim Raykowski from comment #4) > > Hi Tex2002ans, > > > > Does the attached demo track with your proposal? > > Yes, Jim! That's EXACTLY how I imagined it! :P Alright then, let's see what advise UX might have. I'll mark this as NEW to hopefully get some input from the UX experts. Reasonable request, supports also the overview what style has been used in the document. Thanks for the patch. Have you taken care of the color generation algorithm using a lower number? The colors seem to be unnecessary close in the demo. (In reply to Heiko Tietze from comment #8) > Reasonable request, supports also the overview what style has been used in > the document. I agree. > Thanks for the patch. Have you taken care of the color generation algorithm > using a lower number? The colors seem to be unnecessary close in the demo. Colors are generated from the style name only, the number makes no difference. There are some values that can be tweaked that might provide for better color separation but, I think, since the difference in the style names here is only one character it is wysiwyg. Perhaps Tomaž might have ideas. He was the one that made the suggestion for the algorithm that is used to generate the style spotlight colors. With his suggestion and some research I found this[1] which I based the color generation on[2]. [1] https://github.com/zenozeng/color-hash [2] https://gerrit.libreoffice.org/c/core/+/151079 (In reply to Jim Raykowski from comment #9) > Perhaps Tomaž might have ideas. Jim Raykowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6c0081f3cd37541f8c0fe0fba69cc38c9b0a229b tdf#158992 Only show style spotlight for styles that are used It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/572f801969514572d4722d16672ed5739f1e96a4 tdf#158992 Revisit Spotlight help pages |