Replace all in selection doesn't work

When a word or phrase is selected, press ctrl+R

Tick "replace all in" and set "selection" in the dropdown.

Type a substring in the find box.

0 matches are found.

Incidentally, the selection becomes unselected when the dialog box is displayed, perhaps this is the issue.

Mousepad 0.6.3 on Debian 13

I compiled and installed 0.7.0 (with no prefix) which seems to have same problem.

As an aside, I had version reporting problems (see below) - might search/replace also rely on libraries that need copying as below?

./usr/local/bin/mousepad --version

Mousepad 0.6.3

sudo cp ./build/mousepad/libmousepad.so.0.0.0
/usr/local/lib/x86_64-linux-gnu/libmousepad.so.0.0.0

cd /usr/local/lib/x86_64-linux-gnu

sudo ln -sf libmousepad.so.0.0.0 libmousepad.so.0

sudo ln -sf libmousepad.so.0 libmousepad.so

sudo ldconfig

./usr/local/bin/mousepad --version

Mousepad 0.7.0

Edited by ge79so