Bug 65056

Summary: Search and replace, with tracked changes on, changing only format of text, causes Writer to hang
Product: LibreOffice Reporter: Chris BL <cpblpublic+bugzilla>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: christopher.m.penalver
Version: 3.6.2.2 release   
Hardware: All   
OS: All   
See Also: https://launchpad.net/bugs/1126858
Whiteboard:
i915 platform: i915 features:

Description Chris BL 2013-05-27 23:19:28 UTC
Create new text document with contents "Hello, World".
Turn on change tracking (under Edit).
Select Find and Replace (under Edit).
Put "Hello" (no quotes) in both the find and the replace boxes.
Click on "More".
Put cursor in Replace box.
Click on Format.
Set it to, say Italic (leave other options empty). Accept.

And now, for the fatal part: Click "Replace all".
If you just replace one, you'll see why the latter fails. The replacement value gets inserted beofre the original, so then it continues on and sees the original again... ad infinitum.

What should happen: If it just put its position after the original text when searching and replacing, it wouldn't have this problem.
Comment 1 Chris BL 2013-05-27 23:23:16 UTC
Initial report at https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1126858
where it has been confirmed
Comment 2 Christopher M. Penalver 2013-05-27 23:43:03 UTC
Reproducible in:
Version: 4.2.0.0.alpha0+
Build ID: 979def88090633bfee0e0445b19999a1dac71ed
Microsoft Windows Vista Business x86 6.0.6002 Service Pack 2 Build 6002
Comment 3 Bryan Quigley 2015-01-22 19:57:16 UTC
Still Reproducible in:  4.5.0.0.alpha0+
a8835936e9d3e19443c63b7b365174254741cf76

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.