Description: In some cases only the first occurrence is replaced when every occurrence should be replaced. Steps to Reproduce: The bug is easy to reproduce. I give two attached files : - A basic file to import into your macros. In which you find two simple macros. In fact, they are simply calling the same function with two different arguments. MacAAA is working correctly, but MacBBB is not : it changes only the first occurrence. The macros have to be run on the original file and not consecutively in order to see the bug. -TestFile.odt a small and simple text file on which to run macros Actual Results: For MacBBB on the original file : AAA BBB AAABBB AAABBB AAABBB AAABBB AAABBB AAABBB Expected Results: AAA BBB AAA BBB AAA BBB AAA BBB AAA BBB AAA BBB AAA BBB Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Created attachment 128308 [details] Basic file containing the macros to be tested
Created attachment 128309 [details] LibreOffice Writer text file on which the macros have to be tested
This is what I get when running MacBBB (did not run anything else beforehand): AAA BBB AAA BBB AAA BBB AAA BBB AAA BBB AAA BBB AAA BBB Maybe you could test with LibO 5.2. Set to NEEDINFO. Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away. Arch Linux 64-bit, KDE Plasma 5 Version: 5.2.3.3 Build ID: 5.2.3-1 CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; Locale: fi-FI (fi_FI.UTF-8); Calc: group Arch Linux 64-bit, KDE Plasma 5 Version: 5.3.0.0.alpha1+ Build ID: 553cfda502a1516673233e409f91372766da6c4d CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: kde4; Layout Engine: new; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on November 11th 2016
Indeed, I run the test with LibreOffice Version: 5.2.4.0.0+ Build ID: 015061495373d7c09362b175dc1f6be3f2a37a1a and it worked without problem. So I set the status to RESOLVED WORKSFORME as you asked. Thank you.