NSTextView ignores default browser

Originator:markus
Number:rdar://21687971 Date Originated:
Status:Open Resolved:
Product:OS X Product Version:10.10.4 (14E46)
Classification:UI/Usability Reproducible:Always
 
Summary:
NSTextView supports “Search with Google” in the context menu. This will always use Safari to open Google and ignore the default browser set in SystemPreferences.app

Steps to Reproduce:
To make it easier to reproduce this bug I’ll use TextEdit as an example.
1. Open System Preferences and under About change the default browser to Google Chrome (or any other non Safari browser)
2. Open Text Edit, select text and select “Search with Google” from the context menu.

Expected Results:
Google will open in Google Chrome or the configured non Safari browser.

Actual Results:
Always Safari will launch

Regression:
/

Notes:
This code would do the correct thing:
[[NSWorkspace sharedWorkspace] openURL:aURL];

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!