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 319503 - Middle click on a tab should close the tab
Middle click on a tab should close the tab
Status: RESOLVED DUPLICATE of bug 725123
Product: epiphany
Classification: Core
Component: Tabs
1.8.x
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 351702 575748 596462 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-22 23:08 UTC by Kristoffer Lundén
Modified: 2014-10-22 15:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
ephy-notebook: Close a tab with middle click (1.81 KB, patch)
2014-01-12 21:12 UTC, Yosef Or Boczko
none Details | Review

Description Kristoffer Lundén 2005-10-22 23:08:25 UTC
Distribution/Version: Ubuntu 5.10

Middle click on a link opens the URL in a new tab, but to close a tab one has to
hit the little X button on the tab.

This makes it a bit more hard to do, and it doesn't match the expectation of
users coming from many other browsers. Some reflexes are hard to lay off, and
it's so much easier to casually middle-click anywhere on the tab.

In addition, this wastes the middle button for tabs, as it goes unused, although
this may not be too important. :)

It's also unlikely to be happening by accident, at least no more than clicking
on the X button. If middle click is fine for opening in tabs, it should be fine
for closing tabs too. This is also more consistent.

(Personally, I would like the option to also remove the X as I feel it wastes
space I could use for either more tabs or more text, but I think it is correct
to have it visible as the default).
Comment 1 Christian Kirbach 2005-10-23 11:07:51 UTC
I'd say this is something worth being implement.
Comment 2 Reinout van Schouwen 2005-10-23 22:13:31 UTC
I disagree. The mouse wheel is already used to flip through tabs when the
pointer hovers over the tab row. It would be very easy to accidentally close a
tab when actually trying to flip tabs.
Comment 3 Kristoffer Lundén 2005-10-24 14:36:55 UTC
Oh. That explains why Epiphany sometimes seemingly random switches to another tab. 

Personally, I'm not using my wheel to scroll around in tabs. In fact, trying it
out that seems like a pretty uncontrolled way to choose what to view? I also
wonder what users expect here?

My use case for selecting page would be to click directly on the matching tab I
want to go to. :)
Comment 4 Reinout van Schouwen 2005-10-25 22:54:12 UTC
I'd say that an extension would be the right place for this to be implemented...
Comment 5 Kristoffer Lundén 2005-10-27 12:42:38 UTC
And I would think that scrolling would be a better candidate. But never mind.
I'm fine with things like these going into extensions, if there will be a good
way to find, select, use and configure extensions. As it is now, there's just
this big list, and if every little thing is going into an extension, it will be
HUGE.
Comment 6 Reinout van Schouwen 2005-10-27 13:26:54 UTC
As far as I know the tab flipping is no specific Epiphany feature but is
inherited from GtkNotebook. Could you please file appropriate bugs in
epiphany-extensions?

I think the resolution for this bug is WONTFIX.
Comment 7 Kristoffer Lundén 2005-11-03 17:27:08 UTC
Oops, this was (not so) slightly forgotten; sorry about that. I see that you are
correct about GtkNotebook btw.

What are the "appropriate bugs" to file? Is there a special tabs-extension
underway that could add this ability, or should every little thing be its own
extension?
Comment 8 Reinout van Schouwen 2005-11-03 20:22:23 UTC
There are several extensions related to tabs. If you don't know which one to
pick, just file enhancement bugs under 'general'.

NOTABUG'ing this one.
Comment 9 Christian Persch 2006-08-16 23:24:33 UTC
*** Bug 351702 has been marked as a duplicate of this bug. ***
Comment 10 Adi Roiban 2007-12-07 08:12:43 UTC
making epiphany behave like firefox should ease the transition from firefox to epiphany.

I'm using firefox for more than 4 years and i'm used with it's behaviour.

I'm trying to switch to epiphany but all those little changes in the browser behaviour delays the switch.

Comment 11 Reinout van Schouwen 2007-12-07 10:19:29 UTC
Search for 'Middle click tab close' on http://live.gnome.org/Epiphany/ThirdPartyExtensions

<pedantic>Since Epiphany existed before Firefox, technically it's Firefox who introduces changes in behaviour... ;)</pedantic>
Comment 12 Adi Roiban 2007-12-07 11:45:20 UTC
for me having a different plugin for each button action is a wanted "feature".

Maybe some actions like View page source or "View selection source" are not used by a normal user but there should be an Advange tab in the setting page to enable them.

If you want people to use epiphany you should make it friendly to web developers. This is why many people talks about Firefox and not about epiphany even thou the use the same engine.l
Comment 13 Reinout van Schouwen 2009-03-17 21:42:07 UTC
*** Bug 575748 has been marked as a duplicate of this bug. ***
Comment 14 Reinout van Schouwen 2009-09-27 20:16:04 UTC
*** Bug 596462 has been marked as a duplicate of this bug. ***
Comment 15 Reinout van Schouwen 2010-06-14 15:46:26 UTC
See also bug 621381.
Comment 16 mahfiaz 2012-04-03 07:16:05 UTC
It seems like Firefox has had a huge impact on what people expect of tabs.

There is a huge number of open bugs for all kinds of GNOME applications asking for this feature. And usually the answer is: Epiphany does not behave so and it violates HIG. Is there any room for reconsideration?
https://bugzilla.gnome.org/buglist.cgi?bug_status=__all__&content=middle+tab+close
Comment 17 Tristan Brindle 2012-07-16 14:50:03 UTC
Firefox may have invented it, but everyone else seems to have realised it's a good idea. Chrome, Internet Explorer and Opera all close tabs on middle-click.

Closing a tab on a middle-click might be inconsistent with other Gnome apps, but not doing so is inconsistent with every other browser in the world, and is therefore certainly contrary to user expectations.
Comment 18 Rafael Luik 2014-01-10 23:57:39 UTC
Why is reading about the GNOME project decisions always such a PITA?

You leave a mouse button with NO FUNCTION when every other browser make it useful to close a tab for the sake of tantrum!

I ask myself why anyone would use Epiphany.
Comment 19 Reinout van Schouwen 2014-01-11 08:11:02 UTC
(In reply to comment #18)

> I ask myself why anyone would use Epiphany.

Please, refrain from posting comments that don't add anything to the bug.
Comment 20 mahfiaz 2014-01-11 08:17:30 UTC
Rafael, your attitude needs fixing. The answer is that epiphany is the only browser which can be drag scrolled with finger without javascript extension if you use touchscreen (eg a tablet or phone).
Comment 21 Rafael Luik 2014-01-11 09:38:09 UTC
What needs fixing is GNOME's opposition to common sense.

Well, I know I'll stop testing Epiphany real soon.
Comment 22 Yosef Or Boczko 2014-01-12 21:12:14 UTC
Created attachment 266082 [details] [review]
ephy-notebook: Close a tab with middle click

If someone interesting..
Comment 23 mahfiaz 2014-01-12 21:18:42 UTC
Yosef, if this once gets changed, then nautilus, gnome-terminal and any other core program with tabs should do the same. So this is slightly broader issue than epiphany only. I myself would love to see it happen.
Comment 24 Yosef Or Boczko 2014-01-12 21:23:58 UTC
To implement this in each app of GNOME is realy simple,
but this is an issue-design, for now as unnecessary.
Personally, I think it realy unnecessary, btw.
Comment 25 Reinout van Schouwen 2014-01-12 21:30:56 UTC
(In reply to comment #24)
> To implement this in each app of GNOME is realy simple,
> but this is an issue-design, for now as unnecessary.
> Personally, I think it realy unnecessary, btw.

I'm a bit confused now. Middle-click paste was removed in the 3.x transition (something I did use, btw) but are we now really talking about reintroducing the middle click to do something destructive that isn't easily discoverable from the UI? I think the design team should be involved in that case.
Comment 26 Yosef Or Boczko 2014-01-12 21:34:38 UTC
(In reply to comment #25)
> (In reply to comment #24)
> > To implement this in each app of GNOME is realy simple,
> > but this is an issue-design, for now as unnecessary.
> > Personally, I think it realy unnecessary, btw.
> 
> I'm a bit confused now. Middle-click paste was removed in the 3.x transition
> (something I did use, btw) but are we now really talking about reintroducing
> the middle click to do something destructive that isn't easily discoverable
> from the UI? I think the design team should be involved in that case.

IIRC the design team say „not” for this. This why the bug mark as „NOTABUG”.
I realy not understand why we need this, why to close tab with middle
click when you can to do this in the normal way, with left click on the close button.
Comment 27 Rafael Luik 2014-01-12 21:49:24 UTC
First and foremost: no one performs a middle-click by accident.
Secondly: IE, Fx, Chrome, Opera, etc, users are millions and they aren't screaming "omg middle-clicking tabs is destructive" or something like that!! You guys are creating a discussion that shouldn't exist, that whole destructive talk makes no sense.


@Yosef:
- Middle-clicking requires less precision.

- In the case of Epiphany I don't think that's true(?), because it features a scrollable tab bar (which is another deal breaker for me), but in Opera for example when you open a bunch of tabs the close button of the background ones disappear. Closing background tabs with middle-click is much easier when you don't have to focus each of them first and aim that close button.
Comment 28 Michael Catanzaro 2014-01-12 21:57:17 UTC
(In reply to comment #23)
> Yosef, if this once gets changed, then nautilus, gnome-terminal and any other
> core program with tabs should do the same. So this is slightly broader issue
> than epiphany only. I myself would love to see it happen.

If this is changed at all, it should probably be done in GtkNotebook and not in individual apps. Otherwise we're doomed to a fate where middle click closes tabs in some apps but not others.

(In reply to comment #26)
> IIRC the design team say „not” for this. This why the bug mark as „NOTABUG”.
> I realy not understand why we need this, why to close tab with middle
> click when you can to do this in the normal way, with left click on the close
> button.

FWIW I agree, but to play devil's advocate: middle click close is pretty standard for a web browser. The point is that the tab itself is a much bigger click target than the little X. It's especially useful if you're closing many tabs at once.  It's no more destructive or undiscoverable than, say, Ctrl+W or Ctrl+Q: less, actually, because if you accidentally close one tab, it's easy to reopen in two clicks using the app menu.

(In reply to comment #25)
> I'm a bit confused now. Middle-click paste was removed in the 3.x transition
> (something I did use, btw)

Well it's still inconsistently available... works in Bugzilla comments, at least. :)
Comment 29 Michael Catanzaro 2014-10-22 15:22:10 UTC

*** This bug has been marked as a duplicate of bug 725123 ***