Bug 76139 - FORMATTING: First word is capitalized automatically after an inserted field.
Summary: FORMATTING: First word is capitalized automatically after an inserted field.
Status: RESOLVED DUPLICATE of bug 66914
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.2.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-13 19:04 UTC by Gergely Rácz
Modified: 2014-06-04 04:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Different fields are inserted. (12.41 KB, application/vnd.oasis.opendocument.text)
2014-03-13 19:04 UTC, Gergely Rácz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gergely Rácz 2014-03-13 19:04:35 UTC
Created attachment 95738 [details]
Different fields are inserted.

Steps to reproduce

1. Choose 'Insert'-> 'Fields' (choose any field)
2. Press space after the field and start typing...

Results

The first written word starts with 'Sentences case' automatically. 

Expected results

LibreOffice should handle the field as the start of the sentence so the User should decide about the field is part of the sentence or not.

Fact

If a field is not at the beginning of a new paragraph then this issue does not appear.

Tools->AutoCorrect Options...->Options: "Capitalise first letter of every sentence" are both checked at [M] and [T].
Comment 1 A (Andy) 2014-03-14 23:19:11 UTC
reproducible with LO 4.2.1.1 (Win 8.1)
Comment 2 Jean-Baptiste Faure 2014-03-16 11:52:26 UTC
I reproduce the described behavior with your file, but not with a new file in French. Tested with LibreOffice 4.2.4.0.0+ under Linux / Ubuntu 13.10 x86-64 with French localization.

Best regards. JBF
Comment 3 A (Andy) 2014-03-17 21:50:54 UTC
@JBF: I can reproduce it also with a new file, but only once or under specific conditions.


Case 1 (Works apparently only once):
Steps to Reproduce:
1. Open a new document in WRITER
2. Go to TOOLS -> LANGUAGE -> FOR ALL TEXT -> ENGLISH (USA)
3. Go to INSERT -> FIELDS -> DATE
4. Press the Space key and type "test" and press again the Space key
-> Result: "test" changes to "Test"

5. Press the Enter key
6. Go to INSERT -> FIELDS -> DATE
7. Press the Space key and type "test" and press again the Space key
-> Result: "test" stays "test"
It also does not change if you enter it directly after the first entry without pressing the Enter key.


Case 2 ("Strange" specific conditions)
Steps to Reproduce:
1. Open a new document in WRITER
2. Press the Enter key several times
3. Go to TOOLS -> LANGUAGE -> FOR ALL TEXT -> ENGLISH (USA)
4. Go to INSERT -> FIELDS -> DATE
5. Press the Space key and type "test" and press again the Space key
-> Result: "test" changes to "Test"

6. Press the Enter key
7. Go to INSERT -> FIELDS -> DATE
8. Press the Space key and type "test" and press again the Space key
-> Result: "test" stays "test"

9. Go up above the line of the first entry
10. Go to INSERT -> FIELDS -> DATE
11. Press the Space key and type "test" and press again the Space key
-> Result: "test" changes to "Test"

12. Go up further and try it again and "test" will change again to "Test"
Comment 4 tommy27 2014-06-04 04:53:17 UTC
I think this is a duplicate. please revert status if you think I'm wrong.

*** This bug has been marked as a duplicate of bug 66914 ***