Closed
Bug 1152926
Opened 10 years ago
Closed 10 years ago
New mail sound preview doesn't work for default system sound on Mac OS X
Categories
(Thunderbird :: Preferences, defect)
Tracking
(thunderbird38 fixed, thunderbird39 fixed, thunderbird40 fixed)
RESOLVED
FIXED
Thunderbird 40.0
People
(Reporter: sshagarwal, Assigned: sshagarwal)
Details
Attachments
(1 file, 1 obsolete file)
1.51 KB,
patch
|
aleth
:
review+
rkent
:
approval-comm-aurora+
rkent
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
No sound is heard when the new mail sound preview button is pressed for default system sound on Mac OS.
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsISound#playSystemSound() suggests that playSystemSound isn't supported on Macintosh.
Assignee | ||
Comment 1•10 years ago
|
||
The issue and the fix is similar to the one on bug 1141932 and bug 1144256.
Thanks.
Attachment #8590418 -
Flags: review?(mconley)
Comment 2•10 years ago
|
||
Comment on attachment 8590418 [details] [diff] [review]
Patch v1
Review of attachment 8590418 [details] [diff] [review]:
-----------------------------------------------------------------
::: mail/components/preferences/general.js
@@ +115,5 @@
> + if (!soundLocation.contains("file://")) {
> + if (Services.appinfo.OS == "Darwin") // OS X
> + sound.beep();
> + else
> + sound.playEventSound(Ci.nsISound.EVENT_NEW_MAIL_RECEIVED);
Are you sure Ci is defined here? The rest of the file uses Components.interfaces.
Updated•10 years ago
|
Attachment #8590418 -
Flags: review?(mconley) → review-
Assignee | ||
Comment 3•10 years ago
|
||
Oh sorry, missed that.
Attachment #8590418 -
Attachment is obsolete: true
Attachment #8598617 -
Flags: review?(aleth)
Comment 4•10 years ago
|
||
Comment on attachment 8598617 [details] [diff] [review]
Patch v1.2
Thanks!
Attachment #8598617 -
Flags: review?(aleth) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Attachment #8598617 -
Flags: approval-comm-beta?
Attachment #8598617 -
Flags: approval-comm-aurora?
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 40.0
Comment 6•10 years ago
|
||
Comment on attachment 8598617 [details] [diff] [review]
Patch v1.2
http://hg.mozilla.org/releases/comm-aurora/rev/3d9e603fc3bc
http://hg.mozilla.org/releases/comm-beta/rev/60e452381156
Attachment #8598617 -
Flags: approval-comm-beta?
Attachment #8598617 -
Flags: approval-comm-beta+
Attachment #8598617 -
Flags: approval-comm-aurora?
Attachment #8598617 -
Flags: approval-comm-aurora+
Updated•10 years ago
|
status-thunderbird38:
--- → fixed
status-thunderbird39:
--- → fixed
status-thunderbird40:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•