RSS
22 Dec 2006

So Hard Just to Be A Star…

Author: ceefour | Filed under: Complaints, HTML, Opinions, Rails

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Overheard from Bugzilla:

Setting the default application on Vista doesn’t seam to work.

——- Comment #27 From Seth Spitzer [:ss] 2006-09-20 09:45 PST [reply] ——-

doug / robert. here come questions. please forgive my Vista / COM ignorance
in advance!

1) for non-Vista, in nsWindowsShellService::SetDefaultBrowser(), we write the
existing settings to MOZ_BACK_REGISTRY, and then in
nsWindowsShellService::RestoreFileSettings(), we restore them.

So for Vista, shouldn’t that mean we should be calling ClearUserAssociations()
in nsWindowsShellService::RestoreFileSettingsVista()?

2) nsWindowsShellService::SetDefaultBrowser() takes a bool, aForAllUsers.
Shouldn’t this be passed through to SetDefaultBrowserVista(), and if false,
shouldn’t we calling SetAppAsDefault() with the appropriate ASSOCIATIONLEVEL?

3) I am guess thing that the IApplicationAssociationRegistration interface is
duplicated in nsWindowsShellService.h so that will compile on versions of
versions of windows without shobjidl.h. is that right? But I think we should
move it to nsWindowsShellService.cpp (instead of having it in
nsWindowsShellService.h)

4) Any reason not to use CComPtr?

Phew!! So much just to be the default browser? I can understand the security issues involved , but I didn’t realize it has to be that difficult.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

blog comments powered by Disqus