Bug 153314

Summary: 'Sentence case' issue in Writer
Product: LibreOffice Reporter: Andrew T <andrewtgn>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: buzea.bogdan, ilmari.lauhakangas, telesto, vsfoote
Priority: low    
Version: 3.5.0 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=40185
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103341, 107831    

Description Andrew T 2023-02-02 01:09:12 UTC
Description:
'Sentence case' feature doesn't capitalise after a full stop. It works after a ! or ?

Steps to Reproduce:
Steps 
1. Type "sentence case. tHis IS thE FIRst sENTenCE. thIs iS ThE sEConD seNTEncE."
2. Apply Format/Text/Sentence case from the menu


Actual Results:
Actual result: "Sentence case. this is the first sentence. this is the second sentence."

Expected Results:
Expected result: "Sentence case. This is the first sentence. This is the second sentence."


Reproducible: Always


User Profile Reset: No

Additional Info:
It works after a ! or ?

Type: "sentence case! tHis IS thE FIRst sENTenCE? thIs iS ThE sEConD seNTEncE?"

Result: "Sentence case! This is the first sentence? This is the second sentence?"
Comment 1 V Stuart Foote 2023-02-02 03:00:36 UTC
I can not explain why, but the pasted text:

sentence case. tHis IS thE FIRst sENTenCE. thIs iS ThE sEConD seNTEncE.

Is not handled as a Paragraph. And the sentences--selectable with a "triple mouse click" extends to the entire Paragraph (as opposed to the "4 mouse click" paragraph selection).

But if I type the same sentences, they are correctly selected: word, sentence, paragraph. Likewise applying Sentence case from Format -> Text -> Sentence works. As does the <Shift><F3> "Cycle case".

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d8e6b488ceaff7c88856ebcfcfec14d2d8cd7652
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Buovjaga 2023-03-23 08:18:30 UTC
Repro already in 3.5.

(In reply to V Stuart Foote from comment #1)
> But if I type the same sentences, they are correctly selected: word,
> sentence, paragraph. Likewise applying Sentence case from Format -> Text ->
> Sentence works. As does the <Shift><F3> "Cycle case".

For me it did not apply sentence case correctly after typing.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6dfa9c7c0db91a71f3787226636864161d5367ca
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 23 March 2023