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 385037 - history should open the selected page to a new tab
history should open the selected page to a new tab
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Bookmarks
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 499866 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-12 12:25 UTC by Sebastien Bacher
Modified: 2007-12-19 21:51 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
[1/3] Added node-middle-clicked signal to EphyNodeView (2.97 KB, patch)
2007-11-27 12:57 UTC, Cosimo Cecchi
committed Details | Review
[2/3] Use middle click for bookmarks editor (1.68 KB, patch)
2007-11-27 12:58 UTC, Cosimo Cecchi
committed Details | Review
[3/3] use middle click for history window (1.60 KB, patch)
2007-11-27 12:58 UTC, Cosimo Cecchi
committed Details | Review

Description Sebastien Bacher 2006-12-12 12:25:45 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/epiphany-browser/+bug/75122

"Binary package hint: epiphany-browser

When you double-click a link in the History window, it opens in a new window even though the first option on the right-click menu is to open it on a new tab, and my system is set to open links on new tabs.

Shouldn't epiphany be opening those links on new tabs by default, then?
...
> Thank you for your bug. Where do you select the option "to open links on new tabs"? What version of Ubuntu do you use?
...
I'm on Feisty, but that has been the behaviour since I started using Epi some long time ago.

I'll try to be a bit more specific. I selected "open links in a new tab" in the preferred apps menu:

http://img214.imageshack.us/img214/1985/pantallazoaplicacionespfw8.png

Epi's bookmark first menu item is to open the link in a new tab:

http://img183.imageshack.us/img183/2231/sinnombreos2.jpg

Yet, if you double-click a history item, it opens in a new window.
...
> The "preferred app" is used to determine what application should be called when clicking on an http URI from some other desktop application and is not an epiphany preference
..."
Comment 1 Reinout van Schouwen 2006-12-18 08:15:19 UTC
I don't think this is a valid bug. Tabs should only be opened on specific user request. Opening in new tabs is nowhere in Epiphany the default, on purpose, since it is an advanced feature.
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2006-12-18 09:25:55 UTC
What if we detect if user is pressing control and if that's the case we open a new tab.
Comment 3 Reinout van Schouwen 2006-12-18 23:49:11 UTC
Sure. Or middle click. As long as the same behaviour goes for history and bookmark entries.
Comment 4 Reinout van Schouwen 2007-10-03 22:48:43 UTC
It seems like a regression of bug 120678. The "open in new tab" option in the Standard Applications preferences window isn't respected right now.
Comment 5 Cosimo Cecchi 2007-11-27 09:39:28 UTC
*** Bug 499866 has been marked as a duplicate of this bug. ***
Comment 6 Cosimo Cecchi 2007-11-27 12:57:34 UTC
Created attachment 99711 [details] [review]
[1/3] Added node-middle-clicked signal to EphyNodeView

As there has been a request for this lately, I made a patch to implement middle-click to open a new tab in bookmark editor and history window.
Comment 7 Cosimo Cecchi 2007-11-27 12:58:11 UTC
Created attachment 99712 [details] [review]
[2/3] Use middle click for bookmarks editor
Comment 8 Cosimo Cecchi 2007-11-27 12:58:40 UTC
Created attachment 99713 [details] [review]
[3/3] use middle click for history window
Comment 9 Christian Persch 2007-12-07 20:56:10 UTC
Shouldn't we handle ctrl-leftclick like middleclick too ?
Comment 10 Baptiste Mille-Mathias 2007-12-07 21:18:48 UTC
For me, yes, it would be consistent. :)
Comment 11 Cosimo Cecchi 2007-12-08 01:14:35 UTC
Ctrl+leftclick is used to select multiple entries in the treeview...I don't think we should override it, as it's the only way I know to do that.
Comment 12 Christian Persch 2007-12-19 18:38:22 UTC
You're right, I forgot about multi-selection.

Let's get this in; thanks for the patches.
Comment 13 Cosimo Cecchi 2007-12-19 21:51:23 UTC
Committed, closing as FIXED.

------------------------------------------------------------------------
r7791 | cosimoc | 2007-12-19 22:46:55 +0100 (mer, 19 dic 2007) | 3 lines

Middle click on entries in History Window and Bookmark Editor opens the page
in a new tab. Close bug #385037.