Closed Bug 1156134 Opened 9 years ago Closed 9 years ago

Findbar does not react (again)

Categories

(SeaMonkey :: General, defect)

SeaMonkey 2.37 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.37

People

(Reporter: kevink9876543, Assigned: kevink9876543)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:25.0) Gecko/20100101 Firefox/25.0

Steps to reproduce:

SeaMonkey 2.37 built from c-c rev 6f8790980905 / m-c rev a32e3b93c8d8
new profile

On the page that shows up on startup:
1) search for text on the page that isn't on the page
2) search for text that is on the page, then keep hitting "Find Next" or "Find Previous" buttons until it wraps around


Actual results:

The findbar doesn't react at all.  This error is in error console on browser startup:

Error: TypeError: this._browser.messageManager is undefined
Source File: chrome://global/content/bindings/findbar.xml
Line: 272


(Probably need to port bug 1154799 to SeaMonkey somehow, it seems to fix a very similar sounding issue.)


Expected results:

The findbar should turn red and say "Phrase not found" at step 1.
The findbar should show the "Reached end of page..." message during step 2.
OS: FreeBSD → Linux
Hardware: x86_64 → x86
See Also: → 1154799
(OK so this patch was created mostly out of wild guessing...)
Attachment #8597442 - Flags: review?(philip.chee)
Comment on attachment 8597442 [details] [diff] [review]
Patch that seems to get this back working again

Bug 1133981 (e10s-ify findbar FAYT key handling) introduced a dependency on a "messageManager" property on browser.xml[1]. Firefox has one findbar per browser while we have one global findbar four our tabbrowser. This patch looks like the right fix but I'm going to punt this to Neil as he's touched the findbar code recently.

[1] http://hg.mozilla.org/mozilla-central/rev/6bd63b661b78#l5.39
Attachment #8597442 - Flags: review?(philip.chee)
Attachment #8597442 - Flags: review?(neil)
Attachment #8597442 - Flags: feedback+
Comment on attachment 8597442 [details] [diff] [review]
Patch that seems to get this back working again

Seems reasonable to me, assuming that the feedback+ includes some sort of testing.
Attachment #8597442 - Flags: review?(neil) → review+
Assignee: nobody → kevink9876543
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: checkin-needed
Pushed to comm-central a=IanN CLOSED TREE
http://hg.mozilla.org/comm-central/rev/2d6f3a608268
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.37
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: