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 362591 - Middle Click Behavior is not Uniform
Middle Click Behavior is not Uniform
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Interface
2.16.x
Other Linux
: Normal minor
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2006-10-16 12:30 UTC by Kevin Kubasik
Modified: 2007-04-16 07:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
patch to improve middle click in "Go" button. (609 bytes, patch)
2006-11-14 02:49 UTC, Bruno Boaventura
none Details | Review
Changes the callback part, magically it worked. (894 bytes, patch)
2007-04-14 05:44 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review

Description Kevin Kubasik 2006-10-16 12:30:30 UTC
Reporting this bug upstream from the Ubuntu bugtracker Malone:

https://launchpad.net/distros/ubuntu/+source/epiphany-browser/+bug/66400

"
Binary package hint: epiphany-browser

Facts:

→middle-clicking on a bookmark opens it on a separate tab.

→middle clicking on the location bar's dropdown list opens the selected item on a separate tab.

→middle clicking the "back" button opens the previous page on a separate tab.

→typing or pasting an address on the location bar and middle-clicking the "go" button... doesn't do anything.

Guess this last item should be corrected, don't you.
"
Comment 1 VF 2006-10-26 07:54:37 UTC
I might as well add that middle clicking on a folder or topic of multiple tabs on the toolbar or even in the bookmarks menu does nothing at all instead of opening them in new tabs, as it probably should.
Comment 2 Bruno Boaventura 2006-11-11 00:49:45 UTC
*** Bug 362882 has been marked as a duplicate of this bug. ***
Comment 3 Bruno Boaventura 2006-11-11 00:50:44 UTC
Can anybody give me a help to start?
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2006-11-11 01:15:36 UTC
Check src/ephy-link.c. See bug #334463.
Comment 5 Bruno Boaventura 2006-11-14 02:49:58 UTC
Created attachment 76539 [details] [review]
patch to improve middle click in "Go" button.

I think the flags EPHY_LINK_NEW_WINDOW and EPHY_LINK_NEW_TAB should be added always when the middle button is used. Am I right?
Comment 6 Christian Persch 2006-11-23 17:43:40 UTC
No, the patch isn't correct. Middle+shift should be new-window, so those flags are needed.
Also the patch doesn't seem to have anything to do with the problem from comment 0, namely that the Go button doesn't check the flags?
Comment 7 Bruno Boaventura 2006-12-03 17:19:20 UTC
Where are the functions/vars relative to the "Go" button?
Comment 8 Christian Persch 2006-12-03 17:50:18 UTC
src/ephy-go-action.c
Comment 9 Diego Escalante Urrelo (not reading bugmail) 2007-04-14 05:44:05 UTC
Created attachment 86330 [details] [review]
Changes the callback part, magically it worked.

I just changed the g_signal_connect to use a callback and not just gtk_action_activate and it magically works...

:/
Comment 10 Christian Persch 2007-04-15 12:49:32 UTC
Looks ok to me. EphyLinkAction handles it similarly, but EphyGoAction cannot use its connect-proxy function since it constructs its proxy differently.

Please commit to trunk and gnome-2-18; thanks for the patch!
Comment 11 Diego Escalante Urrelo (not reading bugmail) 2007-04-16 07:24:23 UTC
2007-04-16  Diego Escalante Urrelo  <diegoe@gnome.org>

        * src/ephy-go-action.c:

        Middle clicking the Go button should open the location bar address
        content in a new tab. Bug #362591.


Committed to trunk and 2-18, revision 6996 & 6997.