Closed Bug 130600 Opened 23 years ago Closed 23 years ago

Search includes MailWindowOverlay which includes viewZoomOverlay which throws an exception.

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: neil)

References

Details

Attachments

(1 file)

yesterday morning cvs build, freebsd, littlemozilla theme. ./mozilla -mail, search>search messages [Exception... "'[JavaScript Error: "this.bundle has no properties" {file: "chrome://communicator/content/viewZoomOverlay.js" line: 49}]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "<unknown>" data: yes] What should be done? probably at least one of these three things: a. make search not include mailWindowOverlay b. make mailWindowOverlay not include viewZoomOverlay c. make viewZoomOverlay not trigger this exception :-)
(a) is my suggestion, though I could see (b) as an option too. If you don't need the text zoom code, try to avoid it (and its JS!) getting overlaid. this goes for most of the overlays. The xul itself won't hurt too much, because whatever can't get overlayed won't get built, but the JS will always be there taking space. This might mean moving the viewZoomOverlay.xul out of mailWindowOverlay and moving it into the mail xul files (below the mailWindowOverlay include) that actually do want this menu. Or it might mean refactoring mailWindowOverlay. I'll leave that up to you guys.
Last time I looked Search only needed the status bar XUL from mailWindowOverlay
Attached patch Proposed PatchSplinter Review
Removes mailWindowOverlay and inlines the required elements.
Attachment #108737 - Flags: superreview?(bienvenu)
Attachment #108737 - Flags: review?(jaggernaut)
I'm a little leary of going this direction as the search window takes on more of the attributes of a real window instead of less, but as long as you've made sure everything still works, I can sr it.
Comment on attachment 108737 [details] [diff] [review] Proposed Patch sr=bienvenu - we still include mailOverlay.js, so you won't get any savings there...
Attachment #108737 - Flags: superreview?(bienvenu) → superreview+
Comment on attachment 108737 [details] [diff] [review] Proposed Patch r=jag
Attachment #108737 - Flags: review?(jaggernaut) → review+
Keywords: patch
checked in
Assignee: naving → neil
Oops, timeless checked this in ages ago :-)
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: laurel → search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: