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 310814 - consistent behaviour with click/enter + modifiers
consistent behaviour with click/enter + modifiers
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Interface
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 148319 (view as bug list)
Depends on:
Blocks: 344262
 
 
Reported: 2005-07-18 22:49 UTC by Reinout van Schouwen
Modified: 2018-08-03 19:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
with tabs turned off (33.90 KB, image/png)
2006-01-29 20:08 UTC, Matthew Paul Thomas (mpt)
Details
with tabs turned on and "Select new tabs as they are created" turned off (36.96 KB, image/png)
2006-01-29 20:09 UTC, Matthew Paul Thomas (mpt)
Details
with tabs turned on and "Select new tabs as they are created" turned on (37.45 KB, image/png)
2006-01-29 20:09 UTC, Matthew Paul Thomas (mpt)
Details

Description Reinout van Schouwen 2005-07-18 22:49:22 UTC
Middle click and Shift+middle click currently both open a link in a new tab.
Since we offer 'new tab' and 'new window' in menus it would be a good idea to
map 'new window' to Shift+middle click.
Comment 1 Christian Persch 2005-07-26 10:26:20 UTC
From http://mail.gnome.org/archives/epiphany-list/2005-July/msg00048.html :

In the Mozilla suite, Safari, MSIE/Mac, and (to some extent) Firefox,
but not Epiphany, modifier keys do the same thing for the Go button, for
Enter while in the address field, for clicking on links, for clicking on
bookmarks (not shown in the following table because it's identical to
clicking on links), and for pressing Enter while a link is focused.

               Go button    Enter in       click link    Enter on
                            address field                focused link
---------------------------------------------------------------------
   Unmodified  open URL     open URL       open link     open link

Command/Ctrl+  open URL in  open URL in    open link in  open link in
               new window   new window     new window    new window

  Shift+Ctrl+  open URL in  open URL in    open link in  open link in
               new window   new window     new window    new window
               behind the   behind the     behind the    behind the
               current one  current one    current one   current one

  Option/Alt+  download     download       download      download
               URL          URL            linked item   linked item

In Firefox this consistency is disrupted because the Command+ and Shift
+Command+ commands are reversed by default, *only for links* and not for
bookmarks, and apply to tabs, rather than windows; and Option+ in the
address field opens a new tab instead of downloading the URL. (I think
Ctrl+Enter in the address field may add "www." and ".com" in Firefox for
Windows, but I don't have Windows here to check.) Safari does the same
thing with Command+ and Shift+Command+ as Firefox if tabs are turned on,
unless the "Select new tabs as they are created" option is turned on.

----

Note: one complication is that Alt-clicks are stolen by metacity in the default
configuration.
Comment 2 Reinout van Schouwen 2005-07-27 23:56:52 UTC
*** Bug 148319 has been marked as a duplicate of this bug. ***
Comment 3 Reinout van Schouwen 2005-08-20 15:38:00 UTC
The table from comment 1 does not include any actions that open a new tab. I
would favour a mapping where middle click (equivalent to row #2, Ctrl+
something) would open a new tab, and Shift+Ctrl (row #3) would open a new
window. I don't see much use for opening windows behind the current one.
Comment 4 Reinout van Schouwen 2005-08-21 23:46:10 UTC
Bug 306683 is relevant to this bug.
Comment 5 Matthew Paul Thomas (mpt) 2006-01-29 20:03:49 UTC
About opening new tabs -- when tabs are turned on in Safari, Command+ and Shift+Command+ open items in new tabs, and the modifiers for opening items in new windows are changed to Option+Command+ and Option+Shift+Command+. Watch how the help text changes in the following screenshots.
Comment 6 Matthew Paul Thomas (mpt) 2006-01-29 20:08:24 UTC
Created attachment 58347 [details]
with tabs turned off
Comment 7 Matthew Paul Thomas (mpt) 2006-01-29 20:09:06 UTC
Created attachment 58349 [details]
with tabs turned on and "Select new tabs as they are created" turned off
Comment 8 Matthew Paul Thomas (mpt) 2006-01-29 20:09:41 UTC
Created attachment 58350 [details]
with tabs turned on and "Select new tabs as they are created" turned on
Comment 9 Christian Persch 2006-02-24 14:33:57 UTC
The shift/ctrl handling of opening links in new tab/window should be consistent now in 1.9.7 unless I overlooked some places where this needs to be handled.
Comment 10 Christian Persch 2006-08-17 14:04:50 UTC
Mass changing target 2.16 -> 2.18
Comment 11 Diego Escalante Urrelo (not reading bugmail) 2006-12-26 10:02:56 UTC
I think Bruno Boaventura submitted a patch for fixing buttons and middle clicks, besides that I don't think Ephy has inconsistencies.

Objections?
Comment 12 Reinout van Schouwen 2007-01-06 13:04:39 UTC
Diego: can you give a bug number? How are buttons and middle clicks "fixed" by the patch, exactly?

I note that Ctrl+Enter in the address bar currently opens the selected URL or bookmark in a new tab, and think this is a more desired behaviour than opening in a new window, especially because of the somewhat controversial focus-in-address-bar behaviour Epiphany has.
Comment 13 Diego Escalante Urrelo (not reading bugmail) 2007-01-07 22:21:40 UTC
Bruno was trying to solve bug #362591
Comment 14 Christian Persch 2007-03-12 12:25:19 UTC
Moving to 2.20 target due to feature and UI freeze for 2.18.
Comment 15 Diego Escalante Urrelo (not reading bugmail) 2007-07-25 04:15:16 UTC
Hmmm, isn't this already fixed?. I don't see any problems as of now.
Comment 16 Reinout van Schouwen 2007-07-25 21:27:51 UTC
As pointed out on epiphany-list today, middle clicking bookmarks in the bme does nothing.
Comment 17 Bill Case 2007-07-26 16:27:59 UTC
Just expanding  Reinout van Schouwen's last comment: 

"Is there any good reason why I have to remember to use the mouse scroll
button to open a URL in a new tab when I click on it in the Menu bar
'Bookmarks' while I also have to remember to use the right click =>
context menu => left click => open in new tab, when using the Bookmarks
Editor.  Shouldn't a mouse scroll click work for both."
Comment 18 Michael Catanzaro 2017-01-24 01:45:55 UTC
Are any other changes desired here?
Comment 19 Reinout van Schouwen 2017-01-24 10:06:37 UTC
(In reply to Michael Catanzaro from comment #18)
> Are any other changes desired here?

In https://bugzilla.gnome.org/show_bug.cgi?id=740618#c7 you said 'Feel free to open another bug for this' (being Alt+click for download). I think this bug already covers that?
Comment 20 Michael Catanzaro 2017-01-24 15:09:16 UTC
I'm cool with changing our shortcuts to be more consistent and/or to match other browsers, but what specific changes are requested here? The table in comment #1 was written for a world in which browsers didn't have tabs. And the suggestion in bug #740618 comment 3 is based on a very old webpage that no longer accurately reflects Firefox shortcuts (e.g. Alt+click no longer starts a download).
Comment 21 Reinout van Schouwen 2017-01-24 21:37:50 UTC
(In reply to Michael Catanzaro from comment #20)
> I'm cool with changing our shortcuts to be more consistent and/or to match
> other browsers, but what specific changes are requested here? The table in
> comment #1 was written for a world in which browsers didn't have tabs. And
> the suggestion in bug #740618 comment 3 is based on a very old webpage that
> no longer accurately reflects Firefox shortcuts (e.g. Alt+click no longer
> starts a download).

Ah. Hmm. It does in Chromium, though.

For the purposes of this bug, I think only the Alt modifiers are still relevant. The small nugget in comment 3 "Note: one complication is that Alt-clicks are stolen by metacity in the default configuration" could explain why this wasn't done in the Gnome 2.x era already.
Comment 22 GNOME Infrastructure Team 2018-08-03 19:14:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/104.