Closed
Bug 491359
Opened 16 years ago
Closed 15 years ago
Even though TB can play aiff sounds as new mail alerts, you can't pick them
Categories
(Thunderbird :: Preferences, defect)
Tracking
(blocking-thunderbird3.1 -, thunderbird3.1 beta1-fixed)
RESOLVED
FIXED
Thunderbird 3.1b1
Tracking | Status | |
---|---|---|
blocking-thunderbird3.1 | --- | - |
thunderbird3.1 | --- | beta1-fixed |
People
(Reporter: sheppy, Assigned: sheppy)
Details
Attachments
(1 file, 1 obsolete file)
1.18 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
If you manually edit the sound setting to specify an AIFF file, TB does play them. However, you can't pick them using the file picker.
Assignee | ||
Comment 1•16 years ago
|
||
This patch allows the user to select .aif and .aiff files in the sound picker window.
Assignee | ||
Comment 2•16 years ago
|
||
I don't know if Thunderbird on Windows supports .aiff; if it doesn't, this patch would obviously need to only offer these types on Mac. Not sure how to do it conditionally based on whether or not it's a Mac though.
Comment 3•15 years ago
|
||
TB 3.0b4, OSX 10.4.11:
I am unable to choose ANY new alert sound or even revert to system sound. If I switch back to TB2, I can select a sound and TB3 will honor it.
This is a nice little fix with no risk and would improve the life of a Mac OS X user in a great way. So I don't understand why this isn't fixed in Thunderbird 3.0? Mostly sound files on Mac OS X are AIFF (e.g. in /System/Library/Sounds), but you can't use them without converting them into WAV. I support a few Mac OS X users in questions to the new TB 3.0 and one of the most common question is "Why can't I pick AIFF files as alert sound, it's greyed out?". So I hope this will be fixed in 3.0.1 or 3.1.
I have included this patch into my unofficial builds (http://polysom.verilite.de/) so you can see, with this patch you can pick and use AIFF files as alert sound without any problem.
Assignee | ||
Comment 5•15 years ago
|
||
I'd like to propose this be taken in 3.1.
Flags: blocking-thunderbird3.1?
Comment 6•15 years ago
|
||
Comment on attachment 375678 [details] [diff] [review]
Adds .aif and .aiff to supported sounds in filter
this does seem pretty trivial to me.
Attachment #375678 -
Flags: superreview?(bienvenu)
Attachment #375678 -
Flags: review?(bienvenu)
Comment 7•15 years ago
|
||
Comment on attachment 375678 [details] [diff] [review]
Adds .aif and .aiff to supported sounds in filter
yeah, windows can only play .wav files.
One way to check for the mac is to check if if ("nsILocalFileMac" in Components.interfaces)
I don't know what the "proper" way is, perhaps using xulappinfo...
Attachment #375678 -
Flags: superreview?(bienvenu)
Attachment #375678 -
Flags: superreview-
Attachment #375678 -
Flags: review?(bienvenu)
Attachment #375678 -
Flags: review-
Comment 8•15 years ago
|
||
Not blocking 3.1, but patches welcome.
Comment 9•15 years ago
|
||
https://developer.mozilla.org/en/Toolkit_API/STEEL/steelIApplication
Application.platformIsMac
Assignee | ||
Comment 10•15 years ago
|
||
I expect to have a new patch for this today.
Assignee | ||
Comment 11•15 years ago
|
||
Now uses Application.platformIsMac to only add AIFF as a supported sound type on Mac.
Attachment #375678 -
Attachment is obsolete: true
Attachment #426744 -
Flags: review?
Updated•15 years ago
|
Attachment #426744 -
Flags: review? → review?(bugzilla)
Comment 12•15 years ago
|
||
Comment on attachment 426744 [details] [diff] [review]
[checked in] On Mac only, allow *.aif and *.aiff for new mail sounds
>+ // On Mac, allow AIFF files too
>+
>+ if (Application.platformIsMac) {
>+ fp.appendFilter("*.aif", "*.aif");
>+ fp.appendFilter("*.aiff", "*.aiff");
>+ }
nit: no blank line required after the comment.
r=Standard8
wrt test requirement, I think we can't easily test this as it would require interaction with the platform file dialog. We'd also want to check playing of sound files which actually requires listening. So I'd suggest just having a litmus test cover this bug (I'll set the flag in a mo).
Thanks for the patch Eric, I've checked this in for you already:
http://hg.mozilla.org/comm-central/rev/23499b0b17c8
Attachment #426744 -
Attachment description: On Mac only, allow *.aif and *.aiff for new mail sounds → [checked in] On Mac only, allow *.aif and *.aiff for new mail sounds
Attachment #426744 -
Flags: review?(bugzilla) → review+
Updated•15 years ago
|
Assignee: nobody → eshepherd
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-litmus?
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.1b1
Comment 13•15 years ago
|
||
Flags: in-litmus? → in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•