<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 - EDITING: in custom dictionary, let abbreviations have periods"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130695">130695</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: in custom dictionary, let abbreviations have periods
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.3.4.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>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>Nick_Levinson@yahoo.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
The user-defined dictionary fails to add a trailing period for an abbreviation
that has it in the ODT document from which the dictionary is being compiled.

Steps to Reproduce:
1. In Writer, have a document with text open. Include some abbreviations that
have periods and that are not in LO's dictionaries. Examples (relevant to
English (USA)):
M.D.
F.A.C.S.

2. Press F7, for Spelling.

3. When spell-check encounters one of these abbreviations and you can specify
how to handle it, click Add to Dictionary.

4. Click the Options... button.

5. For the user-defined dictionaries, leave as preselected Standard [All] and
click the Edit... button.

6. Examine entries for abbreviations you added.

7. If the trailing period is missing, you may want to select each one and then
click Delete. Examples:
M.D
F.A.C.S

Actual Results:
Even though the string under consideration because it's not already in the
dictionary and you have a choice of how to handle it is red when the
surrounding text is black and the red string includes the trailing period, the
trailing period is not being copied into the user-defined dictionary.

Expected Results:
Inclusion of the entire red string, including a trailing period. An alternative
expectation is that the trailing period would not be red, but would be black,
but periods are small and so that would be a subtle and counterintuitive signal
to the user, easily missed.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Apparently, entries can have periods in the middle but not trailing.

In a few cases, abbreviations properly have periods in the middle but not
trailing, but that's unusual.

The period that ends a sentence when the sentence ends with an unknown
abbreviation that uses periods can confuse the dialog, by making the
sentence-ending period red even though the period won't be accepted for the
custom dictionary.

The problem persists in version 6.3.4.2.0+ (build ID 6.3.4.2-2.fc31). I'm not
prepared to install a newer or unstable verion.

I don't have an OpenGL setting.</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>