Multiple finds impossible in Leafpad.

Bug #439275 reported by David Wynn
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
leafpad (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Binary package hint: leafpad

Karmic Koala. Leafpad version 0.8.13.

Following these steps, my copy of Leafpad fails every time to perform as expected.

1) Load a document.
2) Go to Search -> Find or hit Ctrl+F. Notice when this first pops up, the Find button is greyed out and unusual. That's OK at this point. I haven't told it what to find.
3) Start typing something to search for in the "Find What" box. With the first keypress, the Find button becomes active and is usable.
4) Actually perform the find. I finish typing what I want to find, and hit return or click the Find button. It does find what I asked it to find. I can even do find next (Ctrl+G) and find prev (Shift+Ctrl+G) without a problem.

Everything up to this point seems to works as expected. But, somehow it sets up something inthe background that makes the next bit not work.

5) Go to Search -> Find or hit Ctrl-F. Note again that the Find button is greyed out, but there is already text in the "Find What" box. That's already peculiar. Why can't I search for the same thing I just searched for? Turns out -- if I cancel, I can still successfully use find next and find prev, but these only search for the first search text I specified.
6) Start typing something to search for in the "Find What" box. This time, it doesn't matter what I type in the box. Nothing makes the find button active again.

So, the only way I can search for two different things in my document is to open the document, search once, close leafpad, restart it, open my document and search for the other term.

The Replace functionality as broken in the exact same way.

ProblemType: Bug
Architecture: i386
Date: Wed Sep 30 05:22:01 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: leafpad 0.8.13-1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: leafpad
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
David Wynn (wynn-david) wrote :
Changed in leafpad (Ubuntu):
status: New → In Progress
assignee: nobody → Lionel Le Folgoc (mrpouit)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package leafpad - 0.8.13-1ubuntu1

---------------
leafpad (0.8.13-1ubuntu1) karmic; urgency=low

  * "Port" patches from mousepad:
    - debian/patches/00_resensitize-find-button.patch: re-sensitize
      "Find/Replace" button when the dialog is shown up again LP: #439275
    - debian/patches/01_fix-sigserv-invalid-config.patch: fix crash with
      empty/invalid config file. LP: #366016

 -- Lionel Le Folgoc <email address hidden> Wed, 07 Oct 2009 17:26:28 +0200

Changed in leafpad (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.