Bug 85449 - UI: optional filter for 'Language' dropdown in 'Character' dialog to show only most sensible language choices
Summary: UI: optional filter for 'Language' dropdown in 'Character' dialog to show onl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 122277 (view as bug list)
Depends on:
Blocks: Writer-Styles Character-Dialog
  Show dependency treegraph
 
Reported: 2014-10-25 17:04 UTC by clemty
Modified: 2023-09-09 15:52 UTC (History)
6 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 clemty 2014-10-25 17:04:41 UTC
The "Format" -> "Character" dialog shows all supported languages in the Language dropdown list; most users will only use very few of these. Selecting a language could be made easier by having a checkbox "Filter list" which restricts the languages shown in the list to the following:

- all languages used in the present document
- OS display language (keyboard locale?)
- LibreOffice display language
- (all languages with spellcheck dictionary installed?)
- (all languages installed in the e.g. Windows "input languages" bar?)
Comment 1 A (Andy) 2014-10-25 20:01:19 UTC
marked as enhancement request

I am not sure whether such a filter is practical (question to the Design and Developer teams), but if yes, it could also list the last used languages in the local LO installation.
Comment 2 Heiko Tietze 2018-12-31 09:45:44 UTC
*** Bug 122277 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Lendo QA 2020-09-21 19:25:30 UTC
Adding needsUXeval to discuss this.
Comment 4 Heiko Tietze 2021-06-28 11:53:51 UTC
Sophie, do you think it's acceptable to list only a limited number of languages such as English, French, German, Italian, Spanish, each with no special flavor such as English (U.S.), and have a "more" entry that expands this list showing all options? I think this issue is not just about the character properties dialog but also tools > options, for example.
Comment 5 sophie 2021-06-28 12:21:53 UTC
(In reply to Heiko Tietze from comment #4)
> Sophie, do you think it's acceptable to list only a limited number of
> languages such as English, French, German, Italian, Spanish, each with no
> special flavor such as English (U.S.), and have a "more" entry that expands
> this list showing all options? I think this issue is not just about the
> character properties dialog but also tools > options, for example.

Is there no way to filter this list or to restrict it as the OP suggested it? Having a limited list is always problematic, all languages are equal :)
Comment 6 Cor Nouws 2021-07-01 11:30:53 UTC
(In reply to clemty from comment #0)

> Selecting a language could be made easier by having a checkbox "Filter list"
Type the first character of the language searched, helps too
Comment 7 Heiko Tietze 2021-07-01 13:54:11 UTC
We discussed this topic in the design meeting. 

The current situation is clearly a usability issue: huge lists never make sense. It's not a blocker because one can search by typing, but this doesn't affect the list itself. And typing "Engl" still returns all languages and countries. And not all dropdowns have a input field, see tools > options > language > locales.

We may also show only the languages that are installed by application option,      however user may paste content in alien languages. And it's not clear what "installed language" means. 

Sorting could help; could be done depending on region/locale. However, not sure this is more acceptable than having a reduced number with more items on demand.
Comment 8 Eike Rathke 2021-07-01 18:31:37 UTC
(In reply to Heiko Tietze from comment #7)
> And not all dropdowns have a input field, see tools > options >
> language > locales.
You can search also without input field, just focus the list and start typing. In the edit field you can also type the locale's language tag though, if you happen to know that, which is not possible on the list.


> We may also show only the languages that are installed by application
> option,      however user may paste content in alien languages. And it's not
> clear what "installed language" means. 
Strongly against. Installed languages should not restrict what languages are offered for document *content*.


> Sorting could help; could be done depending on region/locale. However, not
> sure this is more acceptable than having a reduced number with more items on
> demand.
The current list is already sorted by language name, I don't see any benefit in sorting it by locale (what sort criteria anyway, the language tag? you'd end up with more or less the same grouping just in a different order illogical for the human eye). Sorting it by region we'd have to assign regions to locales, sometimes even arbitrary (Esperanto, anyone? Is Russia Europe or Asia?) and having English, French and Spanish split over several regions doesn't make sense either. What's the region for Cabécar to look it up? Or Bribri?

A treeview might make sense for languages with many locales like English, French, Spanish or Arabic but wouldn't help in general for the outnumbering single language entries.

Possible might be to move recently selected/used languages to the top of the list so they stay together for easier switching between different languages. But then again search by typing might be broken if it matched such recent entry that is not sorted into the alphabetical order. Choose your shortcoming.. Anyhow, this might be the best option.