*** Original post on bio 731 at 2011-03-17 18:41:00 UTC *** Since bug 953475 (bio 24) is fixed, it's possible (at least on Mac, and on other OSes once we add systray support) to close the buddy list without closing the application. As sound.js is included from blist.xul, sounds won't work when the buddy list is closed.
*** Original post on bio 731 at 2011-03-17 18:44:33 UTC *** Oh by the way, we probably want to rewrite some of our sound handling at the same time: - I think we want to use an HTML5 <audio> element instead of nsISound so that it's reliably asynchronous on all OSes (sounds currently block the UI thread on Linux which is *very* bad). - It's been a very common request lately to disable the sounds of buddy events but not the sounds of messaging events. I think we want to change the sounds groupbox of the preference window to have 2 separate preferences.
*** Original post on bio 731 at 2011-03-17 23:01:07 UTC *** Bug 953939 (bio 503), and maybe bug 953909 (bio 470) are related.
Created attachment 8352365 [details] [diff] [review] Patch *** Original post on bio 731 as attmnt 622 at 2011-05-16 13:06:00 UTC was without comment, so any subsequent comment numbers will be shifted ***
*** Original post on bio 731 at 2011-05-16 13:32:42 UTC *** https://hg.instantbird.org/instantbird/rev/18219ad5caf0