Bug 78148

Summary: FORMATTING: Inappropriate auto-capitalisation of letters in superscript of "1st" and "2nd" etc when at the start of a sentence
Product: LibreOffice Reporter: deanna.m.hood
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: barta, cno, Niall.Cavanagh
Version: 3.3.0 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: An example of the cases when this does and doesn't happen.

Description deanna.m.hood 2014-05-01 10:03:35 UTC
Created attachment 98284 [details]
An example of the cases when this does and doesn't happen.

Problem description: 
When the text "5th" is automatically formatted to be like "5^{th}", if it's at the start of the sentence the 't' is also auto-capitalised to 'T'. 

Steps to reproduce:
1. Type a word
2. Type a full-stop
3. Press space and type '5th'
4. Press space (and auto-formatting and auto-capitalising will occur)

Current behavior:
On all of '1st', '2nd', '3rd', '4th', '95th', etc, the first letter of the superscript is capitalised. This only seems to happen if it is the start of at least the second sentence in a paragraph: if it is the first word of a paragraph it doesn't auto-capitalise.

Expected behavior:
The expected behaviour would be to not auto-capitalise if you have auto-superscripted.
              
Operating System: Ubuntu
Version: 4.1.3.2 release
Comment 1 Cor Nouws 2014-05-01 13:00:57 UTC
Hi deanna,

thanks for the report. I confirm the behaviour as you describe. And I agree that it should not work like that.

I see the same problem in LibreOffice 3.3.0, so it probably always has been like this..
Comment 2 Cor Nouws 2014-05-16 18:18:29 UTC
*** Bug 78778 has been marked as a duplicate of this bug. ***
Comment 3 tommy27 2014-05-18 08:07:25 UTC
I reproduce it under Win7x64 using 4.2.4.2 and  4.3.0.0.alpha1+ (*) as well. 
I do not reproduce it with OOo 3.3.0

platform -> ALL ; version --> LibO 3.3.0

It seems it's triggered by "capitalize first letter of every sentence" in "Tools/AutoCorrect Options/Options"


* Build ID: a1dd961c3093f5f7624e4d1f2240e9120fd13f23
TinderBox: Win-x86@39, Branch:master, Time: 2014-05-06_11:47:48

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.