Bug 115834 - "Capitalize first letter of every sentence" is non working properly
Summary: "Capitalize first letter of every sentence" is non working properly
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
Reported: 2018-02-18 23:42 UTC by Giacomo Fina
Modified: 2018-03-31 08:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Fina 2018-02-18 23:42:06 UTC
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.
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.