Comment 4 for bug 49619

Revision history for this message
Henrik Nilsen Omma (henrik) wrote : Re: "search & replace all" doesn't, if there's a selection

I can confirm this on Edgy with abiword 2.4.5. Exact procedure to reproduce:

* Open Abiword
* Type 'foo foo foo'
* Go to search/replace
* Type 'foo' in the search box and 'bar' in the replace box
* Hit FIND (it finds the first foo)
* Then hit REPLACE ALL

Expected result: 'bar bar bar'

Actual result: 'foo bar bar'

This happens each time. If you press REPLACE ALL at the very beginning though you get 'bar bar bar', whether anything is selected or not.

I would call this a bug because the user might search for a word first and when the result appears discover that there are several instances. When she subsequently hits Replace All she would expect all the words in the document to be replaced.

(I'll file this upstream)