Issue 110026 - Search and Replace with regexp to purge empty paragraphs hangs OOO Writer
Summary: Search and Replace with regexp to purge empty paragraphs hangs OOO Writer
Status: CLOSED DUPLICATE of issue 102333
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 3.2
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: writerneedsconfirm
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-10 15:54 UTC by clemens_s
Modified: 2010-03-10 16:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample file with table, empty paragraph and instructions to reproduce (13.53 KB, application/vnd.oasis.opendocument.text)
2010-03-10 15:55 UTC, clemens_s
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description clemens_s 2010-03-10 15:54:47 UTC
This happens to me every time in a file containing a table with an empty
paragraph following it. Using OOO Writer 3.2.0 on XP SP3

1) „Edit“ → „Find & Replace“ or hit ctrl-f
2) Open „More Options“
3) turn on „regular expressions“
4) in „search for“ enter „^$“ (caret-dollar) to search for empty paragraphs
5) make sure „replace with“ is empty
6) click „replace all“

This will result in a dialog box prompting you to turn off „undo“ to continue
(which is in itself unexpected behavior); depending on user interaction, three
things can happen:

1) „yes“ hangs OOO Writer (infinite loop trying to replace the paragraph?)
2) „no“ will tell you that the search term was replaced 60,000 times, the file
is otherwise unchanged
3) „cancel“ will close the dialog and start filling the empty paragraph with a
never ending stream of new paragraphs (presumably until you close OOO Writer)
Comment 1 clemens_s 2010-03-10 15:55:49 UTC
Created attachment 68275 [details]
Sample file with table, empty paragraph and instructions to reproduce
Comment 2 michael.ruess 2010-03-10 16:21:12 UTC
Already tracked as issue 102333.

*** This issue has been marked as a duplicate of 102333 ***
Comment 3 michael.ruess 2010-03-10 16:22:54 UTC
Closing duplicate.