Closed
Bug 250186
Opened 20 years ago
Closed 15 years ago
new mail notification sound freezes browser/mail client during sound playback
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 110385
People
(Reporter: harlan, Unassigned)
References
Details
(Whiteboard: [has patch][needs owner])
Attachments
(1 file, 1 obsolete file)
11.39 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
When I set the mail client to play a .wav file when new mail is received, the
entire Mozilla program (browser and mail client) freezes for the several seconds
that the sound is playing.
Reproducible: Always
Steps to Reproduce:
1. Set the mail notification to a custom wave file that's, say, 5 seconds long.
2. Send yourself mail while using the browser.
Actual Results:
When the new-mail sound starts to play, the browser locks up until the sound stops.
Expected Results:
Presumably, spun the new-mail sound playing into a separate thread so that other
activity can occur in the background.
Comment 1•20 years ago
|
||
*** Bug 264996 has been marked as a duplicate of this bug. ***
Comment 2•20 years ago
|
||
confirmed, dup and thunderbird aviary 2004-10-12-14Z.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•20 years ago
|
||
related/dep/dup bug from bug 264996: bug 110385
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•20 years ago
|
Assignee: sspitzer → mail
Comment 4•19 years ago
|
||
Jan has a patch for this.
Updated•19 years ago
|
Assignee: mail → Jan.Varga
Comment 5•19 years ago
|
||
Attachment #205839 -
Flags: review?(pete)
Comment 6•19 years ago
|
||
this patch is actually for mozilla 1.6, will try on trunk
Status: NEW → ASSIGNED
Comment 7•19 years ago
|
||
Attachment #205839 -
Attachment is obsolete: true
Attachment #205973 -
Flags: review?(pete)
Attachment #205839 -
Flags: review?(pete)
Comment 8•19 years ago
|
||
Jan, I tried the patch on a trunk build of Thunderbird. Before I applied the patch, I can play a custom wav sound. After I applied the patch, I don't hear the sound playing any more and I don't see any errors on the console.
I'm not running a debug build. Will do one.
There is a change to the nsISound uuid in the patch at https://bugzilla.mozilla.org/show_bug.cgi?id=207102 that breaks nsISound, revert the uuid change and things work. Hopefully that breakage will be reverted. see https://bugzilla.mozilla.org/show_bug.cgi?id=207102#c25
But after this patch is applied system sound will play but not a sound url. Seems like its failing at nsSound::Play
Comment 10•19 years ago
|
||
Jan in the trunk patch:
+ if (gEsdRef == -1)
return NS_ERROR_FAILURE;
is always -1
I did this:
if (!gEsdRef)
return NS_ERROR_FAILURE;
And async sound works. I also had to revert the uuid change I mentioned in comment 9
Updated•17 years ago
|
Assignee: Jan.Varga → jag
Status: ASSIGNED → NEW
Component: MailNews: Notification → XP Toolkit/Widgets
Product: Mozilla Application Suite → Core
QA Contact: xptoolkit.widgets
Updated•16 years ago
|
Assignee: jag → nobody
Updated•15 years ago
|
Whiteboard: [has patch][needs owner]
Comment 12•15 years ago
|
||
Any reason bug 110385 was not marked as a duplicate of this one?
Comment 14•15 years ago
|
||
(In reply to comment #12)
> Any reason bug 110385 was not marked as a duplicate of this one?
perhaps moot, comment 16 points out perhaps HTML5's audio should be used.
bug 110385 has dependencies set, so suggest this bug be duped to 110385.
and I would think we want this for TB3.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Attachment #205973 -
Flags: review?(pete)
You need to log in
before you can comment on or make changes to this bug.
Description
•