After Find and Replace, can't replace again unless restaring Mousepad

Bug #443302 reported by Radu Cristian Fotescu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mousepad (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: mousepad

In both Mousepad and Leafpad:

-- Search and Replace by some text, either in a single step (Replace all at once), either interactively.
-- Close the Replace dialog.
-- Try to Search and Replace again.
-- The Find and Replace button is GRAYED (disabled) and the only way to fix this is to close and restart Mousepad (or Leafpad)!

Is my Xubuntu that broken, or what?!

It's 100,000,000% reproducible here.

ProblemType: Bug
Architecture: i386
Date: Mon Oct 5 20:26:08 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: mousepad 0.2.16-2ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: mousepad
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
Radu Cristian Fotescu (beranger) wrote :
Revision history for this message
Radu Cristian Fotescu (beranger) wrote :

As a proof that the bug is not because of a screwed installed system, I tested and it does show up for the latest Xubuntu daily build too! http://cdimage.ubuntu.com/xubuntu/daily-live/20091005/

OTOH, it's Ubuntu-specific, as it does NOT manifest in other XFCE 4.6.1 distros, such as Salix OS 13.0.

IMHO, this should be a blocker bug.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

THanks for your bug report, I can confirm that. It's not exactly the same issue as the one described on <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549334>, but it's also broken on Debian unstable. Which gtk+ version does Salix OS ship?

Changed in mousepad (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Radu Cristian Fotescu (beranger) wrote :

Salix OS 13.0 uses exactly gtk+-2.14.7.tar.bz2 from upstream.

So: 2.14.7.

...as opposed to 2.18.1 in Karmic:
http://packages.ubuntu.com/karmic/libgtk2.0-0

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

This patch should fix the issue.

Changed in mousepad (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Radu Cristian Fotescu (beranger) wrote :

Lionel, can you patch Leafpad too? Or should a separate bug be opened?

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

It seems to be already reported as Bug #439275. And yeah, I'll try to patch leafpad too, the fix should be identical or very similar.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Test packages (0.2.16-2ubuntu2~ppa2) are available in my ppa: http://ppa.launchpad.net/mrpouit/ppa/ubuntu/pool/main/m/mousepad/

They contain some fixes for this bug, for Bug #392971, and also one patch coming from <http://bugzilla.xfce.org/show_bug.cgi?id=4526> (broken replace for the first occurrence). They work fine here, so unless I missed an obvious breakage, I'll upload them to karmic this evening or tomorrow.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

> Test packages (0.2.16-2ubuntu2~ppa2) are available in my ppa:

Oops, for karmic, of course.

Revision history for this message
Radu Cristian Fotescu (beranger) wrote :

Ça marche nickel.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mousepad - 0.2.16-2ubuntu2

---------------
mousepad (0.2.16-2ubuntu2) karmic; urgency=low

  * debian/patches:
    - 00_resensitize-find-button.patch: re-sensitize "Find/Replace" button
      when the dialog is shown up again LP: #443302
    - 01_fix-first-replace.patch: really replace the first occurrence found
      with the find/Replace dialog Xfce #4526
    - 02_mru-on-save.patch: add created files to recently used files
      LP: #392971
    - series: add these patches.
  * debian/control: build-depends on quilt (>= 0.46-7).
  * debian/rules: enable quilt.

 -- Lionel Le Folgoc <email address hidden> Wed, 07 Oct 2009 16:39:35 +0200

Changed in mousepad (Ubuntu):
status: In Progress → Fix Released
Jialong Liu (jialongl)
Changed in mousepad (Ubuntu):
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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