Bug 130366 - Auto-caps working only when word is preceded with a period
Summary: Auto-caps working only when word is preceded with a period
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2020-02-02 18:35 UTC by Likid
Modified: 2020-02-10 12:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Likid 2020-02-02 18:35:13 UTC
Description:
When the word comes at the beginning of the line and the previous line does not end with a period, or when it is preceded with an ellipse, the auto-capitalization does not work.

Steps to Reproduce:
1. Write a sentence with no period at its end
2. In the second line, type your first word
3. Reproduce step one with an ellipse at the end of the sentence
4. Reproduce step 2

Actual Results:
No auto capitalization

Expected Results:
Auto capitalization


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

[Information added by user]
Spelling text language is set to French
Comment 1 Dieter 2020-02-04 18:47:40 UTC
Likid, why do you expect Auto capitaization in such a case. Have a look at Tools > AutoCorrect > AutoCorrect Options (Tab "Options"). Rule for AutCaps is: "Capitlaise first letter of every sentecne". So as far as I can see, everything works as expected. Please explain, why you expect something different.

=> NEEDINFO
Comment 2 Likid 2020-02-09 21:51:23 UTC
(In reply to Dieter from comment #1)
> Likid, why do you expect Auto capitaization in such a case. Have a look at
> Tools > AutoCorrect > AutoCorrect Options (Tab "Options"). Rule for AutCaps
> is: "Capitlaise first letter of every sentecne". So as far as I can see,
> everything works as expected. Please explain, why you expect something
> different.
> 
> => NEEDINFO

Hi Dieter,
The "Capitalize first letter of every sentence" is enabled. So I expect that this is applicable when the previous line does not end with a period or when the current word is preceded with an ellipse... Which is not the case.
Comment 3 Dieter 2020-02-10 07:20:09 UTC
(In reply to Likid from comment #2)
> Hi Dieter,
> The "Capitalize first letter of every sentence" is enabled. So I expect that
> this is applicable when the previous line does not end with a period or when
> the current word is preceded with an ellipse... Which is not the case.

So I think there are different opinions about "sentence". As far as I know an ellipse can't close a sentence (if you can, please give me an example). So for me LO works as expected.

But you're right, that in most cases words are capitalized after an ellipse. So perhaps there could be an additional option. But that's an enhancement request.

(I changed comonent to LibreOffice, because AutoComplete doesn't effect only Writer)
Comment 4 Likid 2020-02-10 11:47:07 UTC
Hi Dieter,
Thanks for your contribution.
Regarding the ellipses: "If the text that follows the ellipsis continues the same sentence, the word after the ellipsis is not capitalized. If the text that follows the ellipsis begins a new sentence, it would be capitalized.", according to thepunctuationguide.com. The same rule applies for French.
Comment 5 Dieter 2020-02-10 12:07:12 UTC
O. K. let's change to NEW.
Comment 6 Dieter 2020-02-10 12:15:35 UTC
Same with end quotes at the end of a citation. AutoCorrect option should also work in tis case.