The Mouse Button of Death

If there’s one button on the humble computer mouse that shows a lot of potential, it’s the middle mouse button:

In the last few months I’ve grown very attached to this button. It can be used for all sorts of meaningful activities, such as:

  • Panning around PDF documents and large images
  • Changing the font size of a web page, by holding down the Ctrl key and scrolling
  • Clicking it, then panning around a web page
  • Zooming in on the world using Google Earth
  • Scrolling past this blog entry in your RSS aggregator

But by far the most useful thing this humble button can be used for is to close tabs. In IE7 or Firefox, just move your mouse over the tab, click the middle mouse button, and the tab is history. In both Internet Explorer 7 and Firefox 2.0 you have to manually select a tab first before the little “close” icon appears so you can left-click; but with the middle mouse button, that extra click is removed.

It also works in Visual Studio. Try clicking any open code window tab - with one click, that tab is gone.

I’ve grown so attached to this button that I keep trying to use it in other places. Live Messenger conversation windows, the Processes window in the task manager, items in my taskbar, and even the windows of applications themselves. But to my dismay, none of these applications respond. They are immune.

In most of the contexts above, the left and right mouse buttons are designed to do something, but the middle mouse button does nothing. Why is this button ignored?

Here’s a list of applications that should respond to the middle mouse button, and what should happen when it is clicked:

  • Live Messenger conversation windows. Clicking anywhere except the text window where the conversation is displayed, or where you type, should immediately close the conversation. Clicking the display photo of a contact should block them or delete them.
  • The “toast” windows that appear via Live Messenger. Why bother trying to target that tiny “X” to close the popup, when you have a whole mouse button at your disposal?
  • Any application icon in the system tray. The middle mouse button should immediately terminate the application, with no prompts. Clicking the volume icon should mute the volume, and clicking the time should make it stand still.
  • Any entry in the task bar. Applications like Word and Visual Studio are allowed to prompt (”Do you wish to save?”) when clicked, but utilities like the Snipping Tool, Outlook and web browsers should close instantly.
  • The unused client area in any application. That means the part that is covered in glass under Vista, as well as things like the area left untouched by toolbars and menus (and Ribbons). Pretty much anywhere that isn’t the main content area and isn’t being used for other things like buttons or menus. All of these should tell the application to close (again, allowing some of them to prompt).
  • UAC prompts. The middle mouse button should automatically accept. In fact, since UAC prompts normally take over the whole screen (safe desktop), clicking the middle mouse button anywhere should accept the prompt.
  • Any program in the start menu. The middle mouse button should start the uninstaller for the program.
  • Files, Folders and other items in Explorer. The middle mouse button should automatically delete them (with a prompt). They do not go to the recycle bin, and do not collect $200.
  • Emails in Outlook. Gone. This includes clicking the email content, the item in the listing, or the toast popup that appears when new mail arrives. Clicking a folder in Outlook should mark the folder as read. Since the middle mouse button also allows you to scroll, most of your email reading could be done with one button.

Think of the middle mouse button as the “get out of my way” button. Have 17 applications listed in your task bar? Forget right-clicking each item, waiting for the menu to appear and then locating the close button; just select the one closest to the start button and click the middle mouse button until they’re all gone.

Imagine a desktop where everything that could possibly bug you, distract you or get in your way could be destroyed with the click of a button. Ask yourself this: if you can start a program by pointing at a massive big icon in your start menu and using one click, why does it take so many to close them?

12 Responses to “The Mouse Button of Death”

  1. I do not agree with all these points. I think the middle mouse button could or should be used to close items, e.g. documents, tabs or even task bar icons.

    I do not think deleting items, like files or e-mails, terminating tray applications or even uninstalling programs from start menu would be a significant “user experience improvement”. In my opinion we should not be able to perform actions like these so quickly. The user could destroy quite a lot without really taking note of that, couldn’t he?

    Another problem i noticed in Windows is that this close-tab-feature-with-middle-mouse-button does not behave exactly equal in Firefox and Visual Studio. If you click on the tab and move the mouse away, in my opinion the tab should not close. It does not in Firefox, but Visual Studio does close it. It even closes it if you click the tab bar anywhere. That can be quite annoying.

    Please excuse my English, I’m sure there’ll be some mistakes. ;)

  2. I am lost for words… this just freakin rox.. I am now a mousewheel convert… teach me more..

    -
    Scott Barnes
    Developer Evangelist
    Microsoft.

  3. I think that the Intellimouse software is interfering with these settings because I always get a desktop view of all windows whereever I press the middle button.

  4. The entire tabbed-window mechanism needs a rethink. Whilst useful it is just a hack that highlights the window manager system needs to be doing a better job of things.

    If these tabs were part of the operating system’s machism for grouping applications windows together then the support would be added in a single place and these tabbed/multi applications would behave and display in a consistent manner.

    [)amien

  5. Alternatively use some mouse remapping software like Logitech’s SetPoint and map the middle button to Ctrl-F4.

    This closes the active tab/window in IE, Firefox, Visual Studio and indeed most apps.

    [)amien

  6. […] click the middle mouse button on a tab to close it. I've grown so enamored of this behavior, like Paul Stovell, I expect middle click conventions to work everywhere. I curse every time I middle-click on a taskbar button, expecting that app to […]

  7. @edddy: Seems to be an irritating little issue with IntelliPoint. As far as I can tell, bringing up the Mouse control panel applet and selecting “AutoScroll” from the “wheel button” drop-down on the first tab fixes things; at least, it stops the irritating alt-tab behaviour and allows good old-fashioned document panning to work, and seems to fix up tab opening/closure too.

  8. “clicking the time should make it stand still”

    now that’s funny.

    Have you tried X11’s primary selection? That would be a nice use for middle button in text fields.

  9. denver home refinance

    incongruous disillusioning Jacksonville Hernandez

  10. I’m totally with you on the middlemous funnctionallity. In firefox im used to closing tabs with the MMB. While looking for a way to use the same function on the taskbar in vista I noticed your blog. Finally I found an small free application that solves this problem. This blog entry is more then a year old, so maybe you already know it; Taskbar Shuffle.

    http://www.freewebs.com/nerdcave/taskbarshuffle.htm

  11. If Windows was open source, you could implement all this functionality yourself. I encourage you to investigate open source and see what it offers you.

  12. I have been wanting similar functionality for a LONG TIME. I totally agree with this post on being able to perform these functions. On the other hand, I don’t think that they should be enabled by default, but having it built into the OS so that you can customize it would be aWESEOME. I’m running a dual boot Ubuntu/Vista box, and I’m going to look into it on Ubuntu and check out the taskbarshuffle for Vista. Thanks!

Leave a Reply