Closed
Bug 279546
Opened 20 years ago
Closed 10 years ago
In <FilterEditor.js>, "Error: SetBusyCursor is not defined"
Categories
(MailNews Core :: Filters, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: stephend, Unassigned)
Details
Error: SetBusyCursor is not defined Source File: chrome://messenger/content/FilterEditor.js Line: 202 1. Tools -> Message Filters -> (Enter a condition, such as "Subject contains [foo]") 2. Click the "Move to Folder" checkbox. 3. Since I'm using IMAP, select the top-level Inbox and 'Choose this folder for parent'.
Comment 1•20 years ago
|
||
Reporter: For the record, could you write which software & release you are running ? This code seems to be (CVS documented as) IMAP related: I have no IMAP account to test with... Neil: <http://lxr.mozilla.org/mozilla/search?string=SetBusyCursor> returns (at least) {{ /mailnews/base/resources/content/msgMail3PaneWindow.js, line 1497 -- function SetBusyCursor(window, enable) /mailnews/base/search/resources/content/FilterEditor.js, line 707 -- function SetBusyCursor(window, enable) }} 1) |SetBusyCursor()| is defined in the very file: how can it be undefined ? 2) I wonder if the FilterEditor function could be removed/superceded by the msgMail3PaneWindow one ??
Summary: Error: SetBusyCursor is not defined → In <FilterEditor.js>, "Error: SetBusyCursor is not defined"
Target Milestone: --- → mozilla1.8beta
| Reporter | ||
Comment 2•20 years ago
|
||
Build 2005-01-23-05, Windows XP Seamonkey trunk.
Comment 3•20 years ago
|
||
There is a reason that SetBusyCursor might not be defined; the function is called from a JavaScript object that is registered as a C++ callback whenever you create a new IMAP folder, and that makes it possible for it to outlive the window where SetBusyCursor is defined: although there is code to remove the callback it only gets called when the window is closed, while the code to register the callback gets called whenever a new folder is created. Thus if you create two new IMAP folders before closing the window it might happen that the callback is still registered. Then when you next create an IMAP folder, the callback has outlived the window and therefore fails to call SetBusyCursor.
| Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Is this still relevant? The filter editor was reworked since. Neil, Serge?
Target Milestone: mozilla1.8beta1 → ---
The adding of the listener in SearchNewFolderOkCallback is now guarded by gSessionFolderListenerAdded variable, changed (oh, by me) in bug 736870. It looks to me the previous version of the file with gMailSession didn't prevent AddFolderListener to run multiple times. Neil, do you think that change may fix the bug here? Or did you mean some other place in comment 3?
Flags: needinfo?(neil)
Comment 7•10 years ago
|
||
(In reply to :aceman from comment #6) > The adding of the listener in SearchNewFolderOkCallback is now guarded by > gSessionFolderListenerAdded variable, changed (oh, by me) in bug 736870. It > looks to me the previous version of the file with gMailSession didn't > prevent AddFolderListener to run multiple times. > > Neil, do you think that change may fix the bug here? Or did you mean some > other place in comment 3? I can't remember, but it seems reasonable.
Flags: needinfo?(neil)
Does anybody see this in current Thunderbird/Seamonkey? If nobody responds we should close this as it looks outdated. I think Serge is not working on this.
Assignee: bugzillamozillaorg_serge_20140323 → nobody
Flags: needinfo?(stephen.donner)
Whiteboard: [CLOSEME 2014-12-31]
| Reporter | ||
Comment 9•10 years ago
|
||
(In reply to :aceman from comment #8) > Does anybody see this in current Thunderbird/Seamonkey? If nobody responds > we should close this as it looks outdated. > > I think Serge is not working on this. No idea, I'm happy to close it or have others close it as WFM.
Flags: needinfo?(stephen.donner)
Comment 10•10 years ago
|
||
WFM as far as I'm concerned
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Whiteboard: [CLOSEME 2014-12-31]
You need to log in
before you can comment on or make changes to this bug.
Description
•