Apache OpenOffice (AOO) Bugzilla – Issue 82591
find&replace with track changes
Last modified: 2017-05-20 11:19:34 UTC
see the attached document. a quite common task: search double spaces, replace with single spaces. to track all changes i set 'record changes' and 'show changes'. now search: ' ' (double) replace ' ' (single) - all occurences. the doc contains one double and one tripla spaces bundle. how it should be (and is if i dont set 'show changes') first replace-all: 2 occurences second replace-all: 1 occurence how it is: first: 2 second: 2 third: 3 fourth: 4 fifth: 5 fifth: 5 ... and the expected effect, to replace all multiple spaces, is not done.
Created attachment 48879 [details] s&r bug
Reassigned to SBA.
The problem is that in the 'record changes' mode - those double spaces that were already deleted are detected again as double spaces Thus Writer does not recognise those double spaces as already put out of the document. I can confirm that this problem appears also in other find&replace actions when the 'record changes' mode is turned on. It only disappears if recording changes is turned off before find&replace takes place.
Confirming with 2.3.1 on WinXP - as described.
Reassigned to Hbrinkm.
As far as I can see the problem is that writer doesn't treat stuff that is deleted when 'track changes' is on as really deleted - a related problem is that if you delete a word and start typing directly after it, that word will be included in what is looked at for 'autocomplete' - so if you delete 'in' and insert 'for' straight after without a space, writer will suggest 'information' (and no, if I type 'for' on its own it won't suggest 'formation'). This shouldn't be the way it works...
Reset assigne to the default "issues@openoffice.apache.org".