[Bug 45174] Gedit's find and replace, very slow replacement of spaces?

Kristian Hermansen kristian.hermansen at gmail.com
Wed May 17 05:15:33 UTC 2006


Public bug reported:

Binary package hint: gedit

When trying to replace the space character " " with nothing "" on a
relatively small file with many spaces in it on on line, gedit seems to
hang or is just taking way too long to perform this operation!  Use the
attached file for demonstration purposes and follow along:

1) open attached file spaces.txt with gedit 2.12.1
2) Choose Search->Replace from the menu bar (CTRL-R)
3) Enter a space character, " " (don't include quotes), in the 'Search for' field, and enter nothing in the 'Replace with' field.
4) Now click "Replace All" and watch how slow it is!  Gedit may need to be killed...
--
Kristian Hermansen

** Affects: gedit (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

** Description changed:

  Binary package hint: gedit
  
  When trying to replace the space character " " with nothing "" on a
  relatively small file with many spaces in it on on line, gedit seems to
  hang or is just taking way too long to perform this operation!  Use the
- attached file for demonsration purposes and follow along:
+ attached file for demonstration purposes and follow along:
  
  1) open attached file spaces.txt with gedit 2.12.1
- 2) Choos Search->Replace from the menu bar (CTRL-R)
+ 2) Choose Search->Replace from the menu bar (CTRL-R)
  3) Enter a space character, " " (don't include quotes), in the 'Search for' field, and enter nothing in the 'Replace with' field.
  4) Now click "Replace All" and watch how slow it is!  Gedit may need to be killed...
  --
  Kristian Hermansen

** Attachment added: "spaces.txt file which hangs gedit"
   http://librarian.launchpad.net/2686915/spaces.txt

-- 
Gedit's find and replace, very slow replacement of spaces?
https://launchpad.net/bugs/45174




More information about the desktop-bugs mailing list