Bug 156108 - Have font selection pane textboxes filter rather than position
Summary: Have font selection pane textboxes filter rather than position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Character-Dialog
  Show dependency treegraph
 
Reported: 2023-06-30 18:06 UTC by Eyal Rozenberg
Modified: 2023-07-01 10:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2023-06-30 18:06:31 UTC
When we enter the Font selection dialog / dialog pane, we have a textbox and a list box for each language group. Typing in the textbox locates the first matching font family in the list.

I suggest that, instead, the typing will _filter_ the list, by substring match.

This is better, because:

1. When one is looking for a font family name, one is rarely interested in the integrity of the entire list of fonts.
2. Much easier to search when you don't know the exact name: Scroll range much smaller, non-matchers are out of sight, and you can being your search with a word from the _middle_ of the font name

Note: When you click a list item after typing, your typing is not cleared, so that you can scroll through the matches. Double-clicking or pressing some (x) button which can appear at the edge of the textbox will replacing the typing with the current selection, and restore the full range of fonts for the list box.


Bikeshedding:

* Text only vs support for regexp/wildcards
* Exact details of how to clear the typing / adopt currently-selected item
Comment 1 V Stuart Foote 2023-07-01 01:08:17 UTC
+1, scrolling the fonts from the top of the listbox is a continuing nuisance. The search now feels strained.

Progressive filtering by string input against any part of the font names would be helpful. Perhaps repurpose the logic implemented for the Command search <Shift>+<Esc> dialog.
Comment 2 Heiko Tietze 2023-07-01 10:13:07 UTC
No objection.