Download it now!
Bug 130695 - EDITING: in custom dictionary, let abbreviations have periods
Summary: EDITING: in custom dictionary, let abbreviations have periods
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
6.3.4.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Spell-Checking
  Show dependency treegraph
 
Reported: 2020-02-15 21:11 UTC by Nick Levinson
Modified: 2020-03-11 17:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Levinson 2020-02-15 21:11:21 UTC
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.
Comment 1 Dieter 2020-03-11 17:30:04 UTC
I confirm it with

Version: 6.3.5.2 (x64)
Build-ID: dd0751754f11728f69b42ee2af66670068624673
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

and user-defined dictionary