Bug 18161

Summary: Unappropriate response to middle-click (open in a new tab)
Product: WebKit Reporter: Franck <drtifti>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, pkasting
Priority: P3 Keywords: NeedsReduction
Version: 528+ (Nightly build)   
Hardware: Mac (PowerPC)   
OS: OS X 10.4   
URL: http://www.clubic.com/forum/debat-sur-l-actu/

Description Franck 2008-03-27 14:49:19 PDT
Latest builds r31363 on Windows, r31370 on Mac PPC don't open links in new windows/tab when asked for; only on a particular website.


According to my preferences, a middle-click an a link the open it in a new tab.

Check the URL : http://www.clubic.com/forum/debat-sur-l-actu/
It's the forum of one of the most-visited IT-related french website. (4.3 million unique visitors/month)

When you middle-click on a link (i.e the thread title on the forum), it functions as intended: the link is opened in a new tab.
When you middle-click on the small orange square left to a link (which brings you to the first unread message in the thread), the link is opened in the very same page.

IE, Firefox aren't affected...
Comment 1 Franck 2008-03-31 06:43:39 PDT
Weird things appear sometimes.

1st case 
1 - Load http://www.clubic.com/forum/debat-sur-l-actu/
2 -middle-click on an orange square
3 - link opens in the same window -> bug

2nd case:
1 - Deactivate JavaScript in the Developer menu
2 - Load http://www.clubic.com/forum/debat-sur-l-actu/
3 - Reactivate JS
4 - middle-click on an orange square
5 - Hurray !! link opens in another window/tab

I would like to help further but really don't know how.
Comment 2 Franck 2008-05-21 16:58:53 PDT
r33975 still fails. :(

On the very same page as above.

1 - Right-click on the orange square opens the conterctual menu
2 -Selecting "open link in new tab" actualy opens it in a new tab

but
Command-click on the link dosesn't ??
Comment 3 Peter Kasting 2010-05-06 13:44:24 PDT

*** This bug has been marked as a duplicate of bug 22382 ***