Apache OpenOffice (AOO) Bugzilla – Issue 59720
Autocapitalization fails after numbers and symbols
Last modified: 2017-05-20 11:26:13 UTC
This bug occurs every time I set a dot (.) which comes after a number (i.e. 0, 23) or a stand alone symbol or number+symbol together. If I strike once the spacebar to start a new sentence in the same paragraph or I press Enter to start a new paragraph OOWriter will fail to autocapitalize the first letter of the new sentence. Here below there are some instances of the bug: I was on age of 30. here comes the bug. I bought a new keyboard which was priced $30. here comes the bug. I bought a new keyboard which was priced 30$. here comes the bug. I bought a new keyboard which was priced $. here comes the bug. I bought a new keyboard which was priced ]. here comes the bug. I bought a new keyboard whose price was reduced of about 30%. here comes the bug.
Reassigned to SBA.
SBA->OS: See also issue 28332 ("Automatic first word capitalization fails after quote") and issue 17449 ("Auto capitalization broken if field comes first in new sentence"). Reassigned to OS.
Successfully replicated the bug in OOo 2.0 running Linux 7.3, Intel Pentium 4 CPU 3.00GHz. I ran the instructions provided by madmachine and arrived at the same result. I further tested the 2 other ways to end a sentence and they caused the same problem. Exclamation Mark Test 1.Open ooffice2 2.File->New->Text Document 3.Type - meyer is expecting 30%! anton is expecting only 2%. The result was, Meyer is expecting 30%! anton is expecting only 2%. The expected result was, Meyer is expecting 30%! Anton is expecting only 2%. Question Mark Test 1.Open ooffice2 2.File->New->Text Document 3.Type - is this ring worth 2000? no, it's worth a lot more. The result was, Is this ring worth 2000? no, it's worth a lot more. The expected result was, Is this ring worth 2000? No, it's worth a lot more. I also tested some Latin-1 characters found in Insert->Special Character... They also caused a problem.
Bug reproduced under winXP.
*** Issue 97964 has been marked as a duplicate of this issue. ***
*** Issue 92007 has been marked as a duplicate of this issue. ***
Confirming issue. Affects all platforms => set Platform + OS to "All". Adjusting summary from a catchy line ("Capitalisation quirk") to a meaningful reflection of the findings. This eases queries... Note that there are several other issues concerning capitalisation and "special characters". Beside this one, a quick query reveals these: Issue 17449 (Auto capitalization broken if field comes first in new sentence) Issue 19077 (autocorrect capitalisation fails in words with apostophes) Issue 28332 (Automatic First Word capitalization fails after quote.) SBA->OS: To me it looks like all these have the same root cause. As soon as quotes, apostrophes, fields and numbers are involved, it does not work properly.
Auto capitalization also fails if there is no period (.) after the end of a sentence. Type the next sentence and it will not be capitalized. An example is given below:- "Went to School and it was a hard day's work. Did not find time to think of anything else" Please do not take the quotation mark into account. The second sentence would be capitalized as there is a period mark (.) after the first sentence. This behavior would be different if there is no period mark at all at the end of the first sentence!!! The result would be this if there is no period mark at the end of the first sentence:- "Went to School and it was a hard day's work did not find time to think of anything else" Please look in to this issue. It is also pointed out writer must recognize other marks, like the exclamation mark, for capitalizing.
The comment above ("...capitalization also fails if there is no period...") was submitted as issue 103729: "Auto capitalization only works if there is a period at the end of a sentence". See my comments in there why I do NOT regard that an auto capitalization defect.
*** Issue 109056 has been marked as a duplicate of this issue. ***
Reset assigne to the default "issues@openoffice.apache.org".