GNOME Bugzilla – Bug 518338
epiphany-webkit: cannot open links in new tabs
Last modified: 2008-12-21 16:08:34 UTC
Please describe the problem: here's another bug with the latest version of epiphany-webkit. it is currently not possible to open a link in a new tab (or a new window for that matter). the "Open Link in New Window" option in the right-click menu does not work. also, there is no "Open Link in New Tab" option in the that menu. and finally, middle-click on a link does not open the link in a new tab. thanks for the hard work. this is debian bug #467237 (http://bugs.debian.org/467237). Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
*** This bug has been marked as a duplicate of 519006 ***
*** Bug 519006 has been marked as a duplicate of this bug. ***
I just had a user ask for this in a forum. Would be really nice to have this feature back soon!
I noticed in the http://live.gnome.org/Epiphany/WebKit/TODO page that this bug depends on some WebKit bug, but in midori (also uses webkit-gtk backend; http://software.twotoasts.de/?page=midori) the middle-click to open in new tab works flawlessly...
Yep, I've just been watching around, and midori uses hovering-over-link signal. It's used when mouse enters or exits from a link-space.
*** Bug 555657 has been marked as a duplicate of this bug. ***
I think we can confirm this bug :) Updated other info too.
Created attachment 124067 [details] [review] Enables opening of links in new tabs by pressing the middle mouse button Hello, I've created an initial patch, which enables opening of links in new tabs by pressing the middle mouse button or CTRL + left mouse button. It uses the hovering-over-link technique of midori. The "Open Link in New Tab" is, however, still missing though :(. It seems that midori is using the populate-popup signal, which allows the receiver of the signal to modify the popup-menu on the fly before it will be displayed.
Created attachment 124176 [details] [review] Enables opening of links in new tabs by pressing the middle mouse button and the context menu Hi, I've added the "Open Link in New Tab"-Button to the patch using the same method as midori (by connecting to the populate-popup signal)
Hrm, we are actually on pretty good track to have the relevant WebKit bugs landed in the near future, so I wonder if it makes much sense to have these workarounds in trunk at this point.
Created attachment 125087 [details] [review] 0001-Open-links-in-new-tab-with-middle-click.patch When https://bugs.webkit.org/show_bug.cgi?id=16092 is committed this patch can go in to fix 'open links in new tab with middle click'. I'll be offline from the 22nd to the 2nd of January or so, so anybody feel free to commit this if the webkit patch does not make it in time.
This is in trunk now, closing.