leafpad find and replace issue

Post here if you feel others can duplicate your so discovered "bug"

Moderator: Forum moderators

Post Reply
HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

leafpad find and replace issue

Post 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 634 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 634 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 634 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?

User avatar
Keef
Posts: 276
Joined: Tue Dec 03, 2019 8:05 pm
Has thanked: 3 times
Been thanked: 75 times

Re: leafpad find and replace issue

Post by Keef »

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

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: leafpad find and replace issue

Post 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.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

Re: leafpad find and replace issue

Post 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

trister
Posts: 103
Joined: Mon Sep 28, 2020 6:52 am
Has thanked: 27 times
Been thanked: 17 times

Confirm- leafpad find and replace issue

Post by trister »

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

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: leafpad find and replace issue

Post 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

User avatar
Keef
Posts: 276
Joined: Tue Dec 03, 2019 8:05 pm
Has thanked: 3 times
Been thanked: 75 times

Re: leafpad find and replace issue

Post by Keef »

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

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: leafpad find and replace issue

Post 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.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

Post Reply

Return to “Bug Reports”