[Libreoffice-bugs] [Bug 131431] New: Find & Replace hangs on formatting replacement when thousands of replacements to do

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 20 03:09:51 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131431

            Bug ID: 131431
           Summary: Find & Replace hangs on formatting replacement when
                    thousands of replacements to do
           Product: LibreOffice
           Version: 6.4.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kaanchan at gmail.com

Description:
I tried to search for any character that was a particular font in bold. When I
pressed Replace All, a prompt appeared saying "to continue Undo must be
disabled". I accepted, then progress wheel appeared for an indefinite time (I
waited 15 minutes before aborting).

Steps to Reproduce:
1. Open document
2. Open Find & Replace dialogue
3. Place cursor in Find field
4. Select a font in Format dialogue which appears many times in document
5. Place cursor in Replace field
6. In Format dialogue select same font previously selected from Font tab in
step 4 and select a background color (yellow) from Highlight tab 
7. Click Replace All

Actual Results:
1. After 60,000 character replacements, prompt appears "To proceed with this
action, you must first turn off the "undo" function. Do you want to turn off
the "undo" function?"
2. Clicking No or Cancel resumes normal control of the application. Clicking
Yes results in indefinite hanging. 

Expected Results:
1. Clicking Yes should allow the operation to complete.


Reproducible: Always


User Profile Reset: No



Additional Info:
In my document, after 60000 characters replacements, only 286 were remaining. I
was able to do a second search/replace with no issue on jus the remaining
selection. Clicking "Yes" to turning off the Undo feature seems to go down a
code pathway that causes the hanging. 

Version: 6.4.1.2 (x64)
Build ID: 4d224e95b98b138af42a64d84056446d09082932
CPU threads: 12; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200320/75970915/attachment.htm>


More information about the Libreoffice-bugs mailing list