Page 1 of 1

leafpad find and replace issue

Posted: Mon Nov 02, 2020 8:56 pm
by HerrBert

Hello.

Have to try to explain my issue with Find and Replace in leafpad.

Replacing string by Find and Replace single matches fails and the replace string is pre-/appended to the search string.
In this example i want to replace ${color} with ${color0}

single.jpg
single.jpg (33.33 KiB) Viewed 636 times

When trying to replace a string, i can only replace all matches at once. This action can only be done once. Replacing another string in the same session fails and the replace string is appended to the search string.

all.jpg
all.jpg (19.01 KiB) Viewed 636 times

I can reproduce this misbehavior in Slacko64 700, Bionicpup64 and Fossapup64.

IIRC, this is a known issue in many other Puppies, but not in Slacko 6.3.2, which i'm using as my main OS since late 2016.

single_s600.jpg
single_s600.jpg (35.94 KiB) Viewed 636 times

Did a search in old murga-linux forum with no result...
Does anybody know how to solve this in distros other than Slacko 6.3.2?


Re: leafpad find and replace issue

Posted: Tue Nov 03, 2020 8:13 am
by Keef

Get the same behaviour in Fatdog. The Leafpad version is 0.8.18.1.


Re: leafpad find and replace issue

Posted: Tue Nov 03, 2020 11:25 am
by wiak
HerrBert wrote: Mon Nov 02, 2020 8:56 pm

Hello.

Have to try to explain my issue with Find and Replace in leafpad.

Replacing string by Find and Replace single matches fails and the replace string is pre-/appended to the search string.
In this example i want to replace ${color} with ${color0}
single.jpg
When trying to replace a string, i can only replace all matches at once. This action can only be done once. Replacing another string in the same session fails and the replace string is appended to the search string.
all.jpg

I just tried your example in my WeeDogLinux Arch64 installation, which has leafpad version 0.8.18.1. The problem you describe didn't arise.


Re: leafpad find and replace issue

Posted: Tue Nov 03, 2020 4:26 pm
by HerrBert

Forgot to mention leafpad version in Slacko64 700, Bionicpup64 and Fossapup64 is 0.8.18.1, in Slacko 6.3.2 (32 & 64 bit) it's 0.8.17

Now also tested in ScPup64 successful with leafpad 0.8.18.1


Confirm- leafpad find and replace issue

Posted: Tue Nov 03, 2020 8:15 pm
by trister

I also have the same bug in BusterDog & StretchDog (leafpad 0.8.18.1)


Re: leafpad find and replace issue

Posted: Tue Nov 03, 2020 10:55 pm
by OscarTalks

Could be some sort of mismatch with certain versions of GTK
Might be worth compiling version 0.8 17 to see if that works in Puppies which display the bug in 0.8.18.1
Source is here:-
http://download.savannah.gnu.org/releas ... .17.tar.gz


Re: leafpad find and replace issue

Posted: Tue Nov 03, 2020 11:08 pm
by Keef

I had tried compiling both those versions on Fatdog, and also an older one (0.7.9) but no change.


Re: leafpad find and replace issue

Posted: Wed Nov 04, 2020 10:41 am
by wiak

Came across this bug report (and another). Leafpad heading for obsolescence it seems...

https://bugzilla.redhat.com/show_bug.cgi?id=1134816

https://bugs.debian.org/cgi-bin/bugrepo ... bug=913765

https://bugs.launchpad.net/ubuntu/+sour ... ug/1263064

https://bugs.launchpad.net/ubuntu/+sour ... bug/443302

Claimed fixed:

https://bugzilla.xfce.org/show_bug.cgi?id=5831

I suspect some distros are using a patched version that fixes things.