Issue 17449 - Auto capitalization broken if field comes first in new sentence (also in DRAW and IMPRESS)
Summary: Auto capitalization broken if field comes first in new sentence (also in DRAW...
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: PC All
: P4 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
: 59842 61011 65726 109187 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-07-27 08:00 UTC by andree
Modified: 2017-05-20 11:26 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description andree 2003-07-27 08:00:33 UTC
Scenario:
- create a new file in writer
- make sure that 'AutoCorrect->Capitalize first letter of every sentence' is 
  turned on
- Type 'This is a sentence. '
- Go 'Insert->Fields->Date'
- Type ' is when I wrote this.'

Buggy behaviour:
The text reads 'This is a sentence. 27/07/03 Is when I wrote this.'. In other
words, the 'i' in 'is' after the date was wrongfully capitalised.

Expected behaviour:
The text should read 'This is a sentence. 27/07/03 is when I wrote this.' even
with capitalisation auto correction turned on.

Best regards
Andree
Comment 1 gieschke 2003-07-27 10:13:22 UTC
I can reproduce this on OOo 1.1 RC1 German, WinME.
Comment 2 rblackeagle 2003-07-27 17:34:17 UTC
I do not see that behavior on RC2.  Perhaps it's been fixed.
Comment 3 gieschke 2003-07-29 17:36:36 UTC
For me this still occurs on RC2.
Comment 4 andree 2003-09-29 13:53:53 UTC
This is still present in 1.1rc5.

Cheers
Andree
Comment 5 Unknown 2003-09-30 00:43:30 UTC
I can confirm the same behaviour for 1.1 rc2.
Comment 6 tamblyne 2003-10-31 19:49:54 UTC
Confirmed RH9/1.1.0 -- per reporter's instructions.  

Comment 7 h.ilter 2003-11-03 11:27:20 UTC
HI->OS: It looks bad, when you set a long date format.
Comment 8 Oliver Specht 2003-11-03 11:52:25 UTC
.
Comment 9 moslemi 2005-02-04 06:02:00 UTC
he Issue was successfully replicated on Window XP Oo1.1.4 as well as redhat linux 9.
The steps are as follows:
Tools-->AutoCorrect/AutoFormat-->Word Completion tab-->Enable Word Completion
Click ok.

write some text on the writer and then add a . at the end of your sentence, any
word  typed after this must have the first letter captilized but if you add a
number or a Time stamp or a Date stamp the first letter will still be
capitalized whereas it is not supposed to be captilized since it's not the first
word at the begining of the sentence.
Comment 10 moslemi 2005-02-04 06:03:08 UTC
he Issue was successfully replicated on Window XP Oo1.1.4 as well as redhat linux 9.
The steps are as follows:
Tools-->AutoCorrect/AutoFormat-->Word Completion tab-->Enable Word Completion
Click ok.

write some text on the writer and then add a . at the end of your sentence, any
word  typed after this must have the first letter captilized but if you add a
number or a Time stamp or a Date stamp the first letter will still be
capitalized whereas it is not supposed to be captilized since it's not the first
word at the begining of the sentence.
Comment 11 chapkova 2005-02-04 06:04:34 UTC
I have successfully replicated this defect in OO 1.1 under Linux.  In fact, if 
you enter the date manually without entering the date field, the program does 
not perform capitalization of the next statement.  One can do a quick fix by 
deleting the capitalized letter and entering it again.  I have also tested 
this problem in OO 1.1.4 under Windows XP.  The problem still exists. 
Comment 12 Oliver Specht 2005-02-04 07:21:41 UTC
Prio adjusted to P4
Comment 13 michael.ruess 2006-01-03 10:31:29 UTC
*** Issue 59842 has been marked as a duplicate of this issue. ***
Comment 14 hennejg 2006-01-23 08:19:21 UTC
Still alive and kicking in 2.0.1.
Comment 15 ace_dent 2006-01-23 12:52:25 UTC
*** Issue 61011 has been marked as a duplicate of this issue. ***
Comment 16 ace_dent 2006-01-27 12:20:23 UTC
Confirmed with OOo 2.0.1 using Writer (en_GB), on PC with XP SP2.

- Start new Writer document.
- Insert>Fields>Date.
- Right click on Date to modify 'Fields...'
- Change Date Format to a textual month, i.e. 'December'.
- Now type "is a month of the year."
- Autocorrect changes the first typed letter to a capital.
- Text now reads: "January Is a month of the year".
- Should read: "January is a month of the year".

So (as originally reported), Autocorrect ignores the Field when making the first
letter of a sentence a capital letter. Work around: Disable this function. 
- Tools>AutoCorrect...
- Go to 'Options' tab
- Un-tick option for 'Capitalize first letter of every sentence'.

Regards,
Andrew
Comment 17 Rainer Bielefeld 2007-01-03 08:35:24 UTC
*** Issue 65726 has been marked as a duplicate of this issue. ***
Comment 18 Rainer Bielefeld 2007-01-03 08:38:56 UTC
Due to results in issue 65726, I change OS to 'all'.
The problem is also visible in DRAW and IMPRESS, but I believe that there WRITER
mechanisms are used, so that the problem will disappear there when the bug is
fixed for WRITER.
Comment 19 williereid 2007-06-30 19:57:49 UTC
This also affects a new line following a carriage return. Unless text is entered
on the same line as a field, ended by a period/full stop, the first letter of a
new line is not auto-capitalized.
Comment 20 stefan.baltzer 2009-03-30 16:51:07 UTC
Note that there are several other issues concerning capitalisation and "special
characters".
Beside this one, a quick query reveals these:
Issue 19077 (autocorrect capitalisation fails in words with apostophes)
Issue 28332 (Automatic First Word capitalization fails after quote.)
Issue 59720 (Autocapitalization fails after numbers and symbols)
Comment 21 michael.ruess 2010-02-12 10:00:30 UTC
*** Issue 109187 has been marked as a duplicate of this issue. ***
Comment 22 Marcus 2017-05-20 11:25:00 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 23 Marcus 2017-05-20 11:26:07 UTC
Reset assigne to the default "issues@openoffice.apache.org".