[Bug 1263064] Re: 'Replace' doesn't replace values
Hm, I usually just write this is a test and try to replace all ts with something. However, if I remember correctly the bug was somehow related to the window manager and/or selection/focus handling. From what I remember it was caused by the replace-implementation relying on an programmatically set _active selection_ - and some window managers(?) clear the active selection when the confirmation popup appears and gets focused instead of the editor window. I changed the implementation to not rely on an active selection but instead to remember the match without the use of the selection. It has been a long time ago I looked into this though. I might misremember and I'll try to look into this more in detail when I have time. Thanks a lot Brendan and Dave for having taking the time to test this tough :) What window managers do you use btw? I'm on xubuntu and use xfwm4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263064 Title: 'Replace' doesn't replace values To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/leafpad/+bug/1263064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263064] Re: 'Replace' doesn't replace values
Thanks for looking into this, but I think the bug is not actually fixed yet: I'm on utopic, leafpad version 0.8.18.1-4 and I can still reproduce this bug. Important note: The bug does _NOT_ occur when the checkbox Replace all at once is selected. Use the Replace window to manually replace some expressions using the Find and Replace button (then click Yes a lot of times) while the above mentioned checkbox is _UNCHECKED_ and you should run into the bug immediatly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263064 Title: 'Replace' doesn't replace values To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/leafpad/+bug/1263064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1263064] Re: 'Replace' doesn't replace values
This bug bothered me for quitea while now. I finally got around to make a patch, see attachment. ** Patch added: replace.patch https://bugs.launchpad.net/ubuntu/+source/leafpad/+bug/1263064/+attachment/3998360/+files/replace.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1263064 Title: 'Replace' doesn't replace values To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/leafpad/+bug/1263064/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs