Bug 80521 - FORMATTING: Automatic capitalization doesn't work when a sentence ends with a number or capitalized last word
Summary: FORMATTING: Automatic capitalization doesn't work when a sentence ends with a...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version: 4.2.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-25 10:26 UTC by josé faria
Modified: 2014-08-19 15:20 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
text with bugs (17.87 KB, application/vnd.oasis.opendocument.text)
2014-06-25 10:32 UTC, josé faria
Details

Description josé faria 2014-06-25 10:26:14 UTC
Problem description: when i finish a sentence with a number followed with a parenthesis or when the sentence is finished with a all caps word the next sentence does not start with a capital letter. the auto-correction option is on

Steps to reproduce:
1. ....
2. ....
3. ....

Current behavior:

Expected behavior:

              
Operating System: Windows 7
Version: 4.2.5.2 release
Comment 1 josé faria 2014-06-25 10:32:42 UTC
Created attachment 101741 [details]
text with bugs
Comment 2 Jay Philips 2014-06-26 08:24:38 UTC
Confirmed in 4.2.5 and 4.3.0 on Linux Mint.

Steps to reproduce:
1) Type "tomorrow, i'm going to be 5. but " all in smallcase
2) It will turn it into "Tomorrow, i'm going to be 5. but "

The same goes for having parenthesis at before the period.

Regarding the all caps word at the end of the sentence, i believe that if LibreOffice things the word is an actual word, it will auto-correct the following sentence. I tested this with "where are you going tomorrow JIMMY. what ".
Comment 3 tommy27 2014-08-19 14:44:26 UTC
(In reply to comment #2)
> Confirmed in 4.2.5 and 4.3.0 on Linux Mint.

reproducible under Win7x64 using 4.3.0.4 as well.

> Steps to reproduce:
> 1) Type "tomorrow, i'm going to be 5. but " all in smallcase
> 2) It will turn it into "Tomorrow, i'm going to be 5. but "

reproducible.

> The same goes for having parenthesis at before the period.

yes, but only with numbers followed by parenthesis.

"See you later (come at 5). bye"
"See you later (come at 5 o'clock). Bye"


> Regarding the all caps word at the end of the sentence, i believe that if
> LibreOffice things the word is an actual word, it will auto-correct the
> following sentence. I tested this with "where are you going tomorrow JIMMY.
> what ".

I don't reproduce this.
I get "where are you going tomorrow JIMMY. What ".
Comment 4 Jay Philips 2014-08-19 15:15:04 UTC
(In reply to comment #3)
> I don't reproduce this.
> I get "where are you going tomorrow JIMMY. What ".

Yes that was an example of it working correctly, as previously mentioned, "LibreOffice thinks the word is an actual word, it will auto-correct the following sentence". I had an example of it not working, but cant seem to be able to remember what it was, as all the ones i try now seem to work. :)
Comment 5 tommy27 2014-08-19 15:20:31 UTC
I remember a bug report of someone complaining of lack of capitalization after some texts like CF. 

now I figure out that was becuase "cf." is listed under "Autocorrect Options/Exceptions/Abbreviations (no Subsequent Capital)"

unfortunately I cannot find the exact bug number for that report


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.