WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
21782
When command-clicking a link it doesn't open in a new tab, but with right-clicking it works
https://bugs.webkit.org/show_bug.cgi?id=21782
Summary
When command-clicking a link it doesn't open in a new tab, but with right-cli...
hahn.seb
Reported
2008-10-21 22:31:04 PDT
I use
http://www.web.de
for email, and their webmail has a list of emails. When I click one while pushing command, I don't get a new tab, even though the status bar says that it is going to open it in a new tab. When I open it with right-clicking and choosing "open in new tab", it works as expected. Normally, command-click opens a new tab without a problem, except on that website. Here is some code from the website: function sendpost(mid, indexid, document) { document.postform.rv_mid.value = mid; document.postform.indexid.value = indexid; document.postform.rv_js.value = "yes"; document.postform.submit(); return false; } and every link looks like this: <span class="from" id="***"><a href="/online/msg/lesen.htm?si=***&rv_mid=***&sortid=0&indexid=1" onclick="return sendpost(***,1, document);" title="misc 
<
misc@mail333.com
>" style="color:#000000; text-decoration:none;vertical-align:top"> misc <***> </a> </span>
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2008-10-21 23:40:16 PDT
The inconsistency between Cmd-Click and the context menu item is surprising. There's a high possibility that this bug may be in Safari rather than WebKit, since WebKit doesn't make any decisions about, or have any knowledge of, tabs.
Mark Rowe (bdash)
Comment 2
2008-10-21 23:40:36 PDT
<
rdar://problem/6309820
>
nobody
Comment 3
2009-04-09 08:38:53 PDT
r42260
Here is another repeatable example. 1.
http://www.dailymail.co.uk/news/article-1168584/Blundering-Bob-police-chief-quits-terror-dossier-gaffe--walks-away-110-000-year-pension.html
2. Open link to "Print" in a new window. 3. In the new Print window, command-click on image "A section from the paper Mr Quick was carrying" (this image contains link to enlarged image). Nothing happens. 4. However, menu item "Open link in new tab" or contextual menu "Open link in new tab" works OK. AFAIK, this worked OK in previous nightly builds, but now works incorrectly in
r422660
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug