Bug 152847 - Writer: Find and Replace does not impose Title Case formatting
Summary: Writer: Find and Replace does not impose Title Case formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Find&Replace-Regex
  Show dependency treegraph
Reported: 2023-01-02 17:18 UTC by Paul
Modified: 2023-03-22 13:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2023-01-02 17:18:02 UTC
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

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 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: (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: (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