Bug 152847

Summary: Writer: Find and Replace does not impose Title Case formatting
Product: LibreOffice Reporter: Paul <pbpublic>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail, ilmari.lauhakangas
Priority: medium    
Version: 3.5.0 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 146076    

Description Paul 2023-01-02 17:18:02 UTC
Description:
When specifying Title Case formatting in the Find and Replace dialog, all caps is not changed. 

Steps to Reproduce:
1.Construct F&R search to hit all-caps text and replace with Title case
2. perform search
3.

Actual Results:
no change in text

Expected Results:
I want the text to be in title case


Reproducible: Always


User Profile Reset: No

Additional Info:
Font Effects of paragraph style make no difference (NOTE: They do not impose Title Case either, for that matter)

My Search is for `([A-Z]{2,25})`

Replace: $1, formatting: Title

[x] Regex
Comment 1 Paul 2023-01-03 18:46:34 UTC
Note: Menu / Format / Text / Change Case / Capitalize Every Word DOES impose Title Case on all-caps text, which is the way I believe this function should work.

All these observations hold in LO 7.4.3.2 and 7.5 beta.
Comment 2 Paul 2023-01-03 19:39:47 UTC
What does work is to use Find/Replace to "Find All", then use the Menu's "Capitalize Every Word" to impose Title Case.
Comment 3 Dieter 2023-01-29 18:38:02 UTC
Just for clarification: As far as I can see, finding of all-caps text works, so your bug is about replacing them with title case. Correct?
Comment 4 Paul 2023-01-29 19:37:21 UTC
Yes, the Find part works, the Replace does not.
Comment 5 Dieter 2023-01-30 07:46:08 UTC
I can't assess, if replace settings are correct. If you just enter a word into replace dialog, it works. Perhaps you should use ask.libreoffice.org to get a confirmation or correction of replace setting.
Comment 6 Buovjaga 2023-03-22 13:50:05 UTC
Repro already in 3.5.0.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b5c3a7502f7ff6ccf0f829c1f3a2ba50b8584c41
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74f398bb58510087cc4a11bb2253715771a2c6b2
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 22 March 2023