<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 - Writer formula bar ignores locale"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112462">112462</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Writer formula bar ignores locale
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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>sergio.callegari@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
On systems with LibO set to use the comma (,) as a decimal separator, the
formula bar in writer insists that numbers are entered using the dot (.) as a
decimal separator 

Steps to Reproduce:
1. Open writer, assure that the locale is set so as to use the comma as a
decimal separator
2. Create a table
3. Write a number with decimal digits into a cell using the comma as the
decimal separator (e.g. 67,20)
4. Use the Table->Number format function to assure that the number is correctly
interpreted as such, with the correct magnitude
5. Now, go to another cell. Enter "=" or "F2" so that the formula bar opens
6. Enter the same number as above with the same formatting (e.g., 67,20)
7. Now, go to another cell. Enter "=" or "F2" so that the formula bar opens
8. Enter the same number as above, now using the dot as the decimal separator
(e.g., 67.20)
3.

Actual Results:  
Libreoffice writer at point 6 interpretes the number as if there were no
decimal separator (e.g., 6720). At point 8 it interprets the number correctly

Expected Results:
At 6 Writer should have interpreted the number considering the decimal
separator. At 8 it should not have.

Incidentally, note that the formula bar in calc works as expected, differently
from the one in writer.


Reproducible: Always

User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Note that the automatically included information above is incorrect. If I go to
the LibO Tools->Options->Language Settings->Languages, then I have en-US as the
user interface setting, but Italian as the Locale.
Builds ID: LibreOffice 5.4.2.1


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101
Firefox/55.0</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>