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

--- Comment #11 from Eyal Rozenberg <eyalr...@gmx.com> ---
(In reply to Buovjaga from comment #10)
I'll first note that uniform width and variable width each have benefits and
detriments. So, it's not as though I'm arguing uniform width is always superior
in every way. That said...

> Single line would be the only way to have uniform height without empty
> space. 

1. Single line is not the only way to have uniform height with empty space - in
a document that's longer than a few lines, as one can always grab more text
from before and after the paragraph being searched (well, for document body
search, not so much when searching captions, labels, comments and such.

2. I'm not necessarily against empty space. I would like a single line, I
think, but given that context can be useful, I'd like this to be configurable.
Maybe even configurable from within the sidebar itself! Just think of grep's
--after-context and --before-context switches.

> Are you now asking for the result strings to be truncated to max. the
> minimum width of the Sidebar? 

3. Yes, when the height of the search result entry is fixed, I am asking that
they be truncated; and if it's a single line - then yes, truncation to the
width of the sidebar.

> It seems awkward when you consider how long the search strings can be.

4. Search strings are usually shorter than a sidebar length's worth. 

5. When you search for a long string, you're likely to want a longer context
than the sidebar will show you anyway.

6. See (2.) - configurable height of result to the rescue! 

7. If your search string is _really_ long, three of four lines of height will
not save you either, since just the search term itself may saturate the
single-result area.

8. I say let the user see the start of the match, with the end of it possibly
truncated.

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

Reply via email to