Bug 115834

Summary: "Capitalize first letter of every sentence" is non working properly
Product: LibreOffice Reporter: Giacomo Fina <jaimemistus>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jaimemistus, vsfoote
Priority: medium    
Version: 6.0.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103341    

Description Giacomo Fina 2018-02-18 23:42:06 UTC
Description:
The first letter of a sentence is not auto-capitalized when the first word is followed by an apostrophe. I've tried both in english and in italian.
E.g.
After a full stop, the sentence "i am happy" will be auto-corrected in "I am happy" but if you write "i'm happy", it will remain uncorrected.

Steps to Reproduce:
1.in a new document, write "i'm happy" without capitalizing the first letter with the keyboard.

Actual Results:  
The first letter remained not capitalized

Expected Results:
it should have capitalized it


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Giacomo Fina 2018-02-18 23:43:44 UTC
I also tried resetting user profile. Nothing changed.
Comment 2 V Stuart Foote 2018-02-19 01:16:15 UTC
No it works correctly if you disable the Tools -> AutoCorrect -> AutoCorrect Options: Localized Options  "Single Quotes" Replace check-box.

The quotation Replace action asserts before the Capitalize actions--so the initial position gets dropped.
Comment 3 V Stuart Foote 2018-03-31 08:05:40 UTC
As noted, in this case the intitial AutoCorrect action replaces the Single Quote.

Running a second AutoCorrect pass can be done from Tools -> AutoCorrect -> Apply

Most of the AutoCorrect [M] actions apply only to paragraphs with "Default" style. So check to be sure the paragraph remains in Default style and then rerun the AutoCorrect.

The initial I will be capitalized. But needing the paragraph in Default style is a nuisance, bug 59034.