RSS
22 Dec 2006

So Hard Just to Be A Star…

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

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.

  • http://ameilij.wordpress.com Ariel M.

    I met someone’s friend last saturday at a local computer store who works in Dell. I was just mentioning to a friend a real low pricer Acer laptop with 256 megabytes of RAM. The guy from Dell, who did not know 256 is enough for Linux and Gnome, mentioned casually:

    - That’s not good! You need at least 1 gigabyte for Windows XP, and 2 gigabytes if you plan to run Vista!

    Even in Linux, you can never have too much RAM. But I am not planning on Vista anything for a long while. I have nothing against Microsoft though, I think they have a nice product and it’s part of the price I pay for a computer. But when I can get a discount for a non-OS machine, be sure I will prefer a virgin HD and my latest Ubuntu installation CD.

  • http://hendy.gauldong.net/ Hendy Irawan

    Ariel, yeah, I agree.

    Hardware is always getting cheaper, and better in quality (at least in performance, not durability). Software doesn’t always seem to be. They suck more (especially memory and CPU) overtime.

    Why spend too much money on these stuff, when you don’t really know what good can it do to you? (if you invest on something you better know how it will produce money for you after that)

    I don’t see how buying a $15,000 Vista-loaded laptop (and more $$$ for Office, Adobe products and stuff) will certainly give you more income than a $600 ordinary laptop with Ubuntu + all FLOSS software that you can get on the Ubuntu distro + the Internet?