← Back to team overview

desktop-packages team mailing list archive

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

 

** 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 demonstration purposes and follow along:
+ 1) lsb_release -rd
+ Description:	Ubuntu Vivid Vervet (development branch)
+ Release:	15.04
  
- 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
+ 2) apt-cache policy gedit
+ gedit:
+   Installed: 3.10.4-0ubuntu7
+   Candidate: 3.10.4-0ubuntu7
+   Version table:
+  *** 3.10.4-0ubuntu7 0
+         500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
+         100 /var/lib/dpkg/status
+ 
+ 3) What is expected to happen is when one opens the attached document
+ https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/45174/+attachment/11438/+files/spaces.txt
+ > Ctrl+H > in the "Search for:" text box put a space > immediately click
+ button Replace All, all the spaces are removed.
+ 
+ 4) What happens instead is gedit hangs indefinitely. Originally
+ reproduced in gedit 2.12.1.

** Changed in: gedit (Ubuntu)
   Importance: Low => Medium

** Changed in: gedit (Ubuntu)
     Assignee: Ubuntu Desktop Bugs (desktop-bugs) => (unassigned)

** Summary changed:

- Gedit's find and replace, very slow replacement of spaces?
+ Find and replace spaces causes gedit to hang

** Bug watch added: GNOME Bug Tracker #741499
   https://bugzilla.gnome.org/show_bug.cgi?id=741499

** Changed in: gedit
   Importance: Medium => Unknown

** Changed in: gedit
       Status: Fix Released => Unknown

** Changed in: gedit
 Remote watch: GNOME Bug Tracker #325853 => GNOME Bug Tracker #741499

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/45174

Title:
  Find and replace spaces causes gedit to hang

Status in Light-Weight Text Editor for Gnome:
  Unknown
Status in gedit package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: gedit

  1) lsb_release -rd
  Description:	Ubuntu Vivid Vervet (development branch)
  Release:	15.04

  2) apt-cache policy gedit
  gedit:
    Installed: 3.10.4-0ubuntu7
    Candidate: 3.10.4-0ubuntu7
    Version table:
   *** 3.10.4-0ubuntu7 0
          500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  3) What is expected to happen is when one opens the attached document
  https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/45174/+attachment/11438/+files/spaces.txt
  > Ctrl+H > in the "Search for:" text box put a space > immediately
  click button Replace All, all the spaces are removed.

  4) What happens instead is gedit hangs indefinitely. Originally
  reproduced in gedit 2.12.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/45174/+subscriptions