<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FORMATTING, UI: Typing the name of a language in the Font tab of the Character style dialog does not work correctly sometimes"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133918">133918</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FORMATTING, UI: Typing the name of a language in the Font tab of the Character style dialog does not work correctly sometimes
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.3.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>andvaranaut@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I'm using LibreOffice 6.4.3.2 (latest Ubuntu stable version) in the
Spanish/Spain (es-ES) locale and finding a very strange bug when changing
language. I'll try to be as clear as possible in the description.

To change language you have to open the Character dialog in the Font tab
(hopefully I'm guessing the names right), then there's a combobox where you can
select the language.

It used to be that one could write in the first few letters of the desired
language, and it would autocomplete to the first matching language in the list.
For the most part, it still works, but there is a catch. If you write "in" as
the first two letters, it gets changed to "id" for some reason. Since English
is written "Inglés" in Spanish, this is rather annoying.

The change to "id" happens regardless of case. By experimenting I have found
another weird change - "iw" gets changed to "he". 

In practical terms, this means that you can't pick English as a language when
using the Spanish locale by using the keyboard to search the list. It works OK
when using the mouse, though.

This is a fairly recent regression (probably on the update from Ubuntu 18.04
LTS to 20.04).

I have reproduced the bug by restarting in safe mode, as well as using LC_ALL=C
to reset LO to the default English locale. The same substitutions happen.

Steps to Reproduce:
1. Select some text 
2. Right click > Character > Font tab and focus the language selector
3. Type "IN" or "IW"

Actual Results:
The "IN"/"IW" input gets changed to "id"/"he" respectively

Expected Results:
The "IN"/"IW" input remains and auto-selects the first matching language


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Versión: 6.4.3.2
Id. de compilación: 1:6.4.3-0ubuntu0.20.04.1
Subprocs. CPU: 8; SO: Linux 5.4; Repres. IU: predet.; VCL: gtk3; 
Configuración regional: es-ES (es_ES.UTF-8); Idioma de IU: es-ES
Calc: threaded</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>