Bug 12300 - Command-clicking on named anchor link after clicking on it never opens new tabs
Summary: Command-clicking on named anchor link after clicking on it never opens new tabs
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 420+
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 16246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-17 07:25 PST by David Kilzer (:ddkilzer)
Modified: 2010-12-08 09:44 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-01-17 07:25:03 PST
Summary:

After clicking on a named anchor link  (<a href="#foo">link</a>), additional command-clicking does not open new tabs.

Steps to reproduce:

1. Open Attachment 12006 [details] from Bug 11960.
2. Click on the link once.
3. Command-click on the link.

Expected Results:

A new tab should be opened to the named anchor link.

Actual Results:

Nothing happens.

Regression:

Shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127) behaves the same way.

Notes:

Firefox 2.0.0.1 allows you to command-click as many times as you want on the link to open additional tabs (after performing Steps 1 and 2).

Tested with locally-built debug build of WebKit r18906 with afari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127).
Comment 1 Mark Rowe (bdash) 2007-01-17 14:28:19 PST
<rdar://problem/4930513>
Comment 2 David Kilzer (:ddkilzer) 2007-12-02 21:24:14 PST
On Windows, use Control-Click instead of Command-Click.  See Bug 16246.

Comment 3 David Kilzer (:ddkilzer) 2007-12-02 21:24:26 PST
*** Bug 16246 has been marked as a duplicate of this bug. ***
Comment 4 Paul de Haan 2008-01-02 11:00:01 PST
Note:
I think it's either JavaScriptCore or JavaScriptGlue that deals with this.
Because of the Safari 2.0.4 functionality I hacked together a stand-alone version to be able to still use it.  Since it's a hige timesaver and Safari 2 was the only browser supporting this...

Browse to http://klant.smart-tel.nl or http://customer.sipnl.net
Login: webkittest  Password: 1toomany
When in the overview, click on "Accounts"
In the next page, click on the button "Show accounts".
You see two lines with account-id's.
Command-click on one of the account-id's.

When doing this with
- Safari Version 2.0.4 (419.3), a tab opens with the page showing the account details.
- All other versions load the page in the current tab.
- Firefox/2.0.0.11 does open a new tab, it doesn't load the page

Running: Mac OS X 10.4.11 (8S165)

I miss the functionality deerly in the current version of Safari and the latest build of the webkit.

Regards,
Paul
Comment 5 Paul de Haan 2008-01-17 14:58:49 PST
Nightly build: WebKit-SVN-r29550
Fixed command-click in part. Some links do open again in a new tab.
- URL's
- Javascript pull-down menu's the login-environmet I provided earlier

It does not yet open the Javascript-links provided on the Web-pages.

Thanks!
/Paul
Comment 6 John Schumacher 2010-12-08 09:24:18 PST
Can confirm right click will not open tabs in r73490
Comment 7 aONe 2010-12-08 09:44:01 PST
I confirm too that right click does not open links in new tabs in r73490. I'm with Mac version, Spanish localization.