digitalmars.D.bugs - [Issue 2771] New: browse() fails if Safari is renamed or moved.
- d-bugmail puremagic.com (25/25) Mar 29 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2771
- d-bugmail puremagic.com (10/10) Mar 29 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2771
- d-bugmail puremagic.com (13/13) Mar 29 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2771
- d-bugmail puremagic.com (13/13) Dec 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=2771
http://d.puremagic.com/issues/show_bug.cgi?id=2771 Summary: browse() fails if Safari is renamed or moved. Product: D Version: 2.026 Platform: Macintosh OS/Version: Mac OS X Status: NEW Severity: minor Priority: P4 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: unknown simplemachines.org For categorization purposes, users on Macs may rename or move Safari.app from /Applications - it can even be uninstalled, if the user prefers another browser. For example, I have multiple versions of Safari (and other browsers) on my test Mac, in /Applications/Browsers. The open command doesn't require an application argument. Also, the argument need not be a full path, it can be just a name (such as "Safari", rather than "/path/to/Bundle.app".) My suggestion would be to simply pass the path to open directly, and let it use the user's prefered browser. This seems to be the behavior on Windows and Linux. -[Unknown] --
Mar 29 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2771 Created an attachment (id=302) --> (http://d.puremagic.com/issues/attachment.cgi?id=302&action=view) Omit the optional application argument to open. This patch does what I suggest. An alternative would be to use "Safari", which would work even if they moved the app somewhere else, but not if they renamed it (OS X keeps a cached lookup of bundle ids and names.) -[Unknown] --
Mar 29 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2771 unknown simplemachines.org changed: What |Removed |Added ---------------------------------------------------------------------------- obsolete| | Created an attachment (id=303) --> (http://d.puremagic.com/issues/attachment.cgi?id=303&action=view) Omit the optional application argument to open (corrected.) Arg, sorry, I need to set this up properly to make patches everywhere. -[Unknown] --
Mar 29 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2771 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |FIXED 10:49:25 PST --- It now uses either "BROWSER" environment variable or "x-www-browser". I think this is fixed now (I can't test though). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 23 2012