| Summary: | Make "Default: <Name>" entry in language settings lists not sorted, possibly separated from other items | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Mike Kaganski <mikekaganski> |
| Component: | LibreOffice | Assignee: | Yusuf Keten <ketenyusuf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kara, mentoring, vsfoote, xiscofauli |
| Priority: | medium | Keywords: | difficultyInteresting, easyHack, skillCpp, skillUI |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=139415 | ||
| Whiteboard: | target:7.0.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 112139 | ||
|
Description
Mike Kaganski
2017-12-26 03:18:38 UTC
Agree, Default entry should appear at top of listing and be unsorted--that is the better UI. And a separator would be helpful. A code pointer (for an implementation): see OfaViewTabPage::OfaViewTabPage in cui/source/options/optgdlg.cxx (Options ▸ LibreOffice ▸ View), which populates icon style list box, setting the "automatic" entry as the first element, and puts a separator after it. ... and the code populating the language lists is also in that file, in OfaLanguagesTabPage::OfaLanguagesTabPage, where the lists (e.g., m_pWesternLanguageLB) are set to sorted; and InsertDefaultLanguage is called. Yusuf Keten committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5326d238d7f98b11886eb4be01f19db73f8eda39 tdf#114694: Make default value in language settings the first element It will be available in 7.0.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. |