Closed Bug 801502 Opened 12 years ago Closed 10 years ago

Just installed Thunderbird 16.0.1. Tried to do a find and replace text. Feature finds text but replace button does nothing.

Categories

(Thunderbird :: Message Compose Window, defect)

16 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 530621

People

(Reporter: biz, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121010144125

Steps to reproduce:

I tried to find the word ionize and replace with ionization. entered ionize in the find text box and ionization in the second text box. clicked the find button and first occurrence was highlighted. clicked replace button.


Actual results:

The first occurrence of ionize remained highlighted but it wasn't changed to ionization.


Expected results:

Each time i clicked replace, the found occurrence should have replaced the word and found the next occurrence.
Maybe duplication of Bug 621944
Anything in tools -> Error console ?
Although I can't reproduce the problem exactly as described I did notice the following : -

 + Closing then reopening the "Find and Replace" dialogue box causes the "Replace with:" text to be deleted;
 + The checkbox for "wrap" around searching option does not appear to do anything any more (indeed Bug 621944);

Question to bert ... 
  + does it make any difference in the message format being used (text vs HTML vs Rich text) ?
  + if you press Replace and Find rather than just the replace button is it any more successful ?

Regards
Chris.
Component: General → Message Compose Window
bert, thanks for reporting.

First part of this bug is worksforme (wfm) with STR exactly as reported, rest duplicate of bug 530621:

1) composition having "foo test bar test foo"
2) find & replace (ctrl+F in TB.release, Ctrl+H in TB.trunk), Find text = "test", Replace with = "123"
3) click "Find next"
4) click "Replace" (1st time)
5) click "Replace" again (2nd plus time)

Actual result
3) "Find next" correctly finds & highlights 1st instance of "test"
4) 1st click on "Replace" correctly replaces "test" (highlighted in step 3) with "123"
5) subsequent clicks on "Replace" do nothing at all (unless you click "Find next" before that). Same problem occurs for 1st click on "Replace" if you do NOT click "Find next" first. This problem is on record as bug 530621 (and I think that's what reporter really saw).

Expected result
3) same as actual result
4) same as actual result
5) All clicks on Replace (if enabled) should do something, either find next occurence, or replace, or both (details in bug 530621).
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.