After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 573357 - Open new windows (target="_blank") in tabs when clicking with middle button
Open new windows (target="_blank") in tabs when clicking with middle button
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-27 08:17 UTC by Alejandro G. Castro
Modified: 2009-03-25 12:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch adding the feature (2.64 KB, patch)
2009-02-27 08:20 UTC, Alejandro G. Castro
committed Details | Review

Description Alejandro G. Castro 2009-02-27 08:17:19 UTC
When the user clicks in a link with target="_blank" using the middle button of the mouse, the browser must open the link inside a new tab and not a new window. This is the common behavior of the browser nowadays.
Comment 1 Alejandro G. Castro 2009-02-27 08:20:11 UTC
Created attachment 129632 [details] [review]
Patch adding the feature

This patch uses a new signal in WebKit (new-window-policy-decision-requested) to open the new windows with target blank in tabs in case the user clicked the link with the middle button. This patch requires that the patch in this bug in Webkit bugzilla is applied

   https://bugs.webkit.org/show_bug.cgi?id=23932
Comment 2 Xan Lopez 2009-02-27 08:59:14 UTC
Looks great, let's wait for the WebKit patch to land.
Comment 3 Xan Lopez 2009-03-25 12:05:15 UTC
Committed in trunk, r8938, closing as fixed.