[Project_owners] Re: nsIDownloadManager and SeaMonkey
myk at melez.com
Mon Jul 17 13:20:25 EDT 2006
> So does it disable downloads.xul? Or does it just fail when you open it?
Back when I wrote nightcap, a prototype extension sticking download
progress into the browser window, I ran into the same problem. So I
copied an idea from another download-related extension (don't remember
which one now) and moved the listener around as the user moved from
window to window.
I don't recall now whether the download manager window was included in
that, though. In theory, if you install an extension that shows you
downloads in your browser window, you're not going to be using the
download manager, so it's ok that it stops working.
But in reality, folks are likely to want both their new extension and
the core manager to continue to work, so breaking the manager is bad.
Moving the listener around might get it working again, but it's just a
hack, not a proper solution, so I filed this bug on making
nsIDownloadManager accept multiple listeners:
More information about the Project_owners