Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:

Ticket #162 (closed defect: wontfix)

Opened 7 years ago

Last modified 7 years ago

New Mac OS X installer opens docs in Safari, not the default web browser.

Reported by: crawshaw Owned by: MtnViewMark
Priority: trivial Milestone:
Component: OSX installer Keywords:


My default web browser is Chrome, yet at the end of the installer from here:

I got file:///Library/Haskell/doc/start.html opened in Safari.

This isn't important. Mostly I just wanted to say the new installer worked. Yay! OS X 10.6.5 with no prior GHC/HP installation. XCode 3.2.5.

ghc/gchi appeared on the path in a new terminal window too.

Change History

Changed 7 years ago by crawshaw

  • owner set to gregorycollins
  • component changed from (none-specified) to OSX installer

Changed 7 years ago by gregorycollins

  • owner changed from gregorycollins to mzero

Changed 7 years ago by MtnViewMark

  • owner changed from mzero to MtnViewMark

Hmmm... I thought I fixed this specific issue with the new 2011.2.0.0 RC1 installer just put up today.

Can you do this test for me?

in a shell, run this:

open /Library/Haskell/doc/start.html

Did it open in Chrome or Safari?

(alas, I'm not mzero here, gregory...)

Changed 7 years ago by MtnViewMark

  • status changed from new to closed
  • resolution set to wontfix

Ah - as reported, of course! While I did change the code to use open, which will use the user's default browser, the installer runs as root. Hence, it opens with the root's default browser, which not surprisingly is Safari.

I don't have a reasonable way to find the current user from within the installer -- a limitation of Apple's installer framework. Since I'm using Apple's installer framework's own "show this file to the user after install" mechanism, one can only hope they'll improve it. (I'll file a bug.)

Note: See TracTickets for help on using tickets.