Bug 117653

Summary: AutoCorrect does not work with contractions
Product: LibreOffice Reporter: ah01 <ahutson01>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: vsfoote
Priority: medium    
Version: 5.4.0.3 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description ah01 2018-05-16 22:06:50 UTC
Description:
When I use a contraction as the first word of a sentence, it is not automatically corrected. 

For example: i'll do it tomorrow. [should correct to --->] I'll do it tomorrow.

Even in mid-sentence, proper noun contractions (like I'm, I'll, I'd, etc) do not automatically capitalize.

When I noticed this for the first time, I added the words in the Replace list, with no change. The box for "capitalize first word of sentence" is checked.

I have had this problem since downloading and using LibreOffice three years ago and throughout all LO updates. 

Steps to Reproduce:
1. Begin a new sentence by typing a contraction (such as i'm or haven't)
2. Press space bar. 
AND
1. In the middle of a sentence, type a proper-noun contraction, such as i'll or i've.
2. Press spacebar. 

Actual Results:  
The word does not auto-capitalize as instructed in AutoCorrect.

Expected Results:
The first word of every sentence should auto-capitalize, since the box is checked. Also, proper noun contractions should auto-capitalize.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Comment 1 V Stuart Foote 2018-05-17 02:13:11 UTC
The autocorrect replacement of the single quote will block the capitalization option.

You need to uncheck the Single quotes replacement in Tools -> Autocorrect -> Autocorrect Options: Localized Options tab to enable the "Capitalize first letter of every sentence" option to assert.

There is no support for mid-sentence "proper noun contractions".