8

Most modern web browsers now close tabs when the middle mouse button is clicked on them, is this an expected behavior for other applications where tabs cans can be opened, closed and changed whilst using it? Especially with users who won't be expected to have a great technical knowledge.

10
  • 1
    How will it hurt the users without "technical knowledge"? – Lg102 Aug 13 '13 at 15:54
  • 1
    I wasn't thinking of if it would hurt them, but rather is it something that people generally have come to expect as a feature. – Dan Chew Aug 13 '13 at 16:05
  • 2
    Should the middle mouse button close tabs? Yes. Do most users expect that behavior? I'm not sure, but the ones who don't are not middle clicking on tabs. – Brian Aug 13 '13 at 16:46
  • 2
    I wasn't even aware of this behaviour. Any mice I have used have two buttons. Most other mice I have seen, for example in the office, have two buttons. The three button mice I have come across were few and far between ... – Marjan Venema Aug 13 '13 at 18:33
  • 1
    Many scroll wheel mice allow the "clicking" of the scroll wheel as a middle mouse click. Even so, I don't think this is expected behavior -- I did not know about this feature either. I see it works in Firefox, but not in my current install of Chrome. – wootcat Aug 13 '13 at 18:57
11

I also had no idea this was an option until trying it just now! But now that I know, I won't forget.

I believe this is an example of progressive disclosure, or at least introducing progressive complexity in the available interactions. It is a shortcut feature for expert users (or at least those knowledgeable about this particular interaction), but does not detract in any way from the more visible/affordable interactions ("X" button, for example).

So to echo some of the other answers/comments: Yes, I think it is a good idea. Whether it is a common enough pattern (yet) for it to be expected behavior - perhaps not but that doesn't mean it shouldn't be there. As long as it's not overriding or coming into conflict with any other expected interaction pattern, it's a valid shortcut.

3

Disclaimer: I had no idea you could do that!

I always use Ctrl+W to close tabs, but for users less familiar with keyboard shortcuts, it makes sense. The button to close tabs tends to be tiny so middle clicking anywhere on the tab enlarges the target for free.

Obviously, discoverability is quite poor though, but then again you could say the same thing about many keyboard shortcuts.

Whether it's expected behaviour is debatable, but it's a new shortcut so if most modern browsers do it then it will eventually become expected.

2

I actually disagree that it's expected behavior. Because in Windows, middle clicking a program on the taskbar duplicates it. I don't know about Mac and Linux, but I'd expect similar behavior. Matter of fact, I actually discovered that feature by accident: I middle clicked a tab expecting it to be duplicated, and instead it closed!

However, since all major web browsers do this it is probably the accepted convention at this point, as the other answers state.

1
  • 1
    Didn't know it duplicated apps. Worth noting that in Win7, if you mouseover an open application or a stacked set of programs on the taskbar so that they're expanded into a set of panes for each, and then middle click those, they close, so technically it both giveth and taketh away. – TernaryTopiary Jun 13 '17 at 15:10
1

I always use middle button to close tabs and expect it from all browsers as default action. This trick works not only in web browsers I think it will be a good feature for the geeks. They'll thanks you for that.

1

Well, my answer here would be NO. When you click a link with the middle button it opens the link in a new tab, hence, "creates" a new tab. I relate "creation" with a positive, additive function, and by using the middle button to close a window we are using the middle button to "destroy" (ok ok, just close) tabs, it feels just contradicting. Besides, there's an X button right there, and there's a right-click + 'close tab' option - why do we need another one?

1

I find it very annoying. I use a laptop with a touchpad containing a "middle mouse key", and it is extraordinarily easy to try to focus a page using the left button but then click the middle button by mistake and lose the page altogether.

I've turned the middle button off on my touchpad (I rarely ever use it), but it feels like a use case that wasn't really thought through.

I haven't heard the same complaint from anyone else, but Opera, that has implemented it, is still something of a niche browser. I'll be interested to see if and when other people get burned by this one.

1
  • This has caused me a lot of confusion in MobaXterm, for which I use middle click to paste, but oddly sometimes my attempt to paste caused the tab to close... I finally figured it out, but didn't realize that it was a general browser feature until just now. – Christopher Bottoms Sep 23 '20 at 13:14
0

This is totally browser based rather than application based. But user can configure middle click on his mouse to do some other action.

As per image, it seems that it is totally user's choice to configure middle click action. And all browsers, Safari, Chrome, IE supports middle click which by default closes the tab or application.

enter image description here

I know this feature for last 5 years and I found it very handy. Any user having experience with this would like to have this feature in each and every browser. Now, it is totally on developer to have this feature in their desktop application. But, if someone provides it, then I am sure that they will be quite happy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.