<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 - Fields in "AutoCorrect options..." window are wrongly filled by LibreOffice"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118141">118141</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Fields in "AutoCorrect options..." window are wrongly filled by LibreOffice
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X (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>luca.sardelli@protonmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I
- select a misspelled word;
- select "AutoCorrect options..." from "Tools" menu

LibreOffice
- display a window containing the fields "Replace" and "With";
- "Replace" field is empty;
- "With" field contains the misspelled word.

I would expect the opposite behaviour:
- "Replace" field containing the misspelled word;
- "With" field empty, so I can enter the proper spelling of the word.

Steps to Reproduce:
1.Select a (misspelled) word
2.Select Tools > AutoCorrect > AutoCorrect Options...


Actual Results:  
"AutoCorrect Options" windows opens;
fields are wrongly filled:
  - "with" contains the misspelled word;
  - "Replace" field is empty.

Expected Results:
"AutoCorrect Options" windows opens;
Fields should:
  - "Replace" contains the misspelled word;
  - "with" be empty.


Reproducible: Always


User Profile Reset: No



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

Version: 6.0.4.2
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU threads: 4; OS: Mac OS X 10.13.5; UI render: default; 
Locale: it-IT (en_IT.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0)
Gecko/20100101 Firefox/60.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>