Closed
Bug 339175
Opened 20 years ago
Closed 20 years ago
[Find Tool Bar]: Neither "Find Next" nor "Find Previous" work at the message window
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Thunderbird2.0
People
(Reporter: sugar.waffle, Assigned: ispiked)
Details
(Keywords: verified1.8.1)
Attachments
(1 file, 1 obsolete file)
|
1.76 KB,
patch
|
mscott
:
review+
mscott
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
It reproduces in the message window opened by double-clicking an arbitrary message by the message list.
There is no problem in the preview of the main window(Three pane display of default).
Reproducible: Always
Steps to Reproduce:
1. An arbitrary message is double-clicked by the message list and the message
window is opened.
2. Hit Ctrl+f
3. An arbitrary search key is input.
4. Push "Find Next" or "Find Previous" button on Find Tool Bar.
JavaScript Console message:
Error: canFindAgainInPage is not defined
Source File: chrome://messenger/content/mailWindowOverlay.js
Line: 1349
Error: canFindAgainInPage is not defined
Source File: chrome://messenger/content/mailWindowOverlay.js
Line: 1349
Error: canFindAgainInPage is not defined
Source File: chrome://messenger/content/mailWindowOverlay.js
Line: 1349
Error: uncaught exception: [Exception... "'[JavaScript Error: "canFindAgainInPage is not defined" {file: "chrome://messenger/content/mailWindowOverlay.js" line: 1349}]' when calling method: [nsIController::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: anonymous :: line 155" data: yes]
Windows XP Sp1
version 2 alpha 1 (20060524)
Comment 1•20 years ago
|
||
I can reproduce with recent trunk/Linux.
Confirming this bug.
version 3 alpha 1 (20060526)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 1.5 → unspecified
Comment 2•20 years ago
|
||
I cannot even get the find toolbar to show up in the message pane with the latest trunk builds.
Severity: normal → major
OS: Windows XP → All
| Assignee | ||
Comment 3•20 years ago
|
||
I think findUtils.js needs to be included in messageWindowOverlay.xul.
Hardware: PC → All
Version: unspecified → Trunk
| Assignee | ||
Comment 4•20 years ago
|
||
| Assignee | ||
Comment 5•20 years ago
|
||
OK. So my patch fixes the problem with canFindAgainInPage being undefined. Now the problem is that the function is returning false. All it's doing is seeing if the search string isn't blank.
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/content/findUtils.js&rev=1.4&mark=139-144#139
The problem is that it's saying it /is/ blank! I don't know why the search string isn't getting updated. The other variable don't seem to be getting updated either; e.g. matchCase.
http://lxr.mozilla.org/mozilla/source/xpfe/components/find/public/nsIFindService.idl#42
| Assignee | ||
Comment 6•20 years ago
|
||
Since we're using the new findbar code, we don't need to see if we can find again; the findbar code handles this.
Assignee: mscott → ispiked
Attachment #223627 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #223649 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Attachment #223649 -
Flags: review? → review?(mscott)
Comment 7•20 years ago
|
||
Comment on attachment 223649 [details] [diff] [review]
fix
thanks for the patch!
Attachment #223649 -
Flags: review?(mscott)
Attachment #223649 -
Flags: review+
Attachment #223649 -
Flags: approval-branch-1.8.1+
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [checkin needed]
Comment 8•20 years ago
|
||
Patch landed on trunk and 1_8 branch
Checking in mail/base/content/mailWindowOverlay.js;
/cvsroot/mozilla/mail/base/content/mailWindowOverlay.js,v <-- mailWindowOverlay.js
new revision: 1.119; previous revision: 1.118
done
Checking in mail/base/content/messageWindow.js;
/cvsroot/mozilla/mail/base/content/messageWindow.js,v <-- messageWindow.js
new revision: 1.38; previous revision: 1.37
done
/cvsroot/mozilla/mail/base/content/mailWindowOverlay.js,v <-- mailWindowOverlay.js
new revision: 1.95.2.22; previous revision: 1.95.2.21
/cvsroot/mozilla/mail/base/content/messageWindow.js,v <-- messageWindow.js
new revision: 1.27.2.10; previous revision: 1.27.2.9
done
Whiteboard: [checkin needed]
| Assignee | ||
Updated•20 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird2.0
Version: Trunk → 2.0
Comment 10•20 years ago
|
||
adding the fixed1.8.1 keyword per joey's comment and mcow's verification.
Keywords: fixed1.8.1
Comment 11•19 years ago
|
||
verified with TB 2.0.0.0-candidates/rc1/ version 2.0.0.0 (20070326)
find previous/find next work in individual message windows. Marking as verified1.8.1
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•