Description: In a long list of search results, matching parts of strings should be easier to spot. Steps to Reproduce: 1. Ctrl+H in Calc 2. Check "All sheets" 3. Run a "Find all" (or "Replace all") query Actual Results: All row items in the "Search results" dialog are shown in plain text, with no visual indication of where the matches happen in the strings Expected Results: Either use bold text (ideally) or highlighting (suboptimal, because we shouldn't depend only on color) to mark up the matching portions of the strings, so that it's easy to see what part of each row has been matching. Reproducible: Always User Profile Reset: No Additional Info: Tested on version: 7.6.0.3 (X86_64) / LibreOffice Community Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265 CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: gtk3 Locale: fr-CA (en_CA.UTF-8); UI: en-US Flatpak Calc: threaded
Created attachment 189556 [details] Screenshot showing how the "needle" term is not clearly identified among the search results items' strings
I agree that this would be a welcome tweak to the Search Results dialog, especially for cells with long strings. Just copying UX/Design team to hear their opinion. Tested in: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 43df1237a091e2b0f4495d5a7e959f7beaab025d CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
Sounds reasonable. Alternatively we could just elide the text so the search term is guaranteed to be shown. "Cat and dogs are the needle in the haystack" would become "...the needle in..." then.
Created attachment 189564 [details] screenshot of VoyantTools' Contexts widget For some inspiration, here's how VoyantTools' "Contexts" widget does it (but it is admittedly more about exploring what is around the search term). The size of the context is customisable, for both the single-row and expanded views.