Bug 158910

Summary: Right-Clicking on text and selecting 'Search with Google' should display results in new tab
Product: WebKit Reporter: s.alkhalfa
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap
Priority: P2 Keywords: InRadar
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   

Description s.alkhalfa 2016-06-19 06:53:21 PDT
Sometimes its very frustrating, as I am reading an article I will come across text that I want to perform a Google Search on.

The problem is that when I select "Search with Google", it performs the search in the same tab or window and because of that I will lose the original article.

In 99 percent of the time; I have to select that text, copy it, create a new tab and then do a google search from there - which is very time consuming.

This is not the case with other browsers like chrome for instance which allow users to perform a Google Search in a new tab.

I see a few solutions to this :

1 - Either give the user two options when righ-clicking which are 'Search with Google' and 'Search with Google in new Tab',

2 - Make the 'Search with Google' open results in a new tab by default

3 - Make the behaviour of 'Search with Google' dependant on the 'Open pages in tabs instead of windows' setting in the preferences pane. If it is Automatically or Always, then do the Google Search in a new tab; otherwise if its 'Never' then do the Google Search in the same page.

** From an end-user perspective and in the interest of keeping things simple; I see option 2 as the best: searching with Google will always do the search in a new tab. This way users can keep the original article and have the search results displayed in a new tab.
Comment 1 Radar WebKit Bug Importer 2016-06-19 06:53:35 PDT
<rdar://problem/26881676>
Comment 2 Alexey Proskuryakov 2016-06-19 17:21:28 PDT
This behavior is implemented in Safari, not in WebKit.

Thank you for sending this enhancement request! It will continue to be tracked internally by Apple.