This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Middle mouse button to close a tab not working properly

  • 2 replies
  • 0 have this problem
  • 1 view
  • Last reply by cor-el

more options

Hello.

Since some time (few months, can't really say when this started happening), the middle mouse button click on a tab stopped working as before. I will describe the expected behavior and how it (still) works on the same computer with a different browser (Chrome):

1. Hover over a tab 2. Middle-click closes a tab 3. Tabs right to the closed one move left 4. Middle-click closes a tab 5. Steps 2-4 may be repeated unless there are no tabs opened 6. Leaving the tabs bar (if any left opened) will now rearrange the remaining tabs (increase their width, etc)

Now, here is the not so great behavior I am facing in Firefox: 1. Hover over a tab 2. Middle-click closes a tab 3. Tabs right to the closed one move left 4. Middle-click rearranges the remaining tabs (increase their width, etc) 5. Middle-click closes a tab 6. Steps 2-5 may be repeated unless there are no tabs opened 7. Leaving the tabs bar (if any left opened) will now rearrange the remaining tabs (increase their width, etc), if you have left at last step 3

See, there is this extra step #4 which is really bugging me enough to actually come and ask for a support.

I am on Ubuntu 20.04, using latest version of Firefox (to date).

Many thanks!

Hello. Since some time (few months, can't really say when this started happening), the middle mouse button click on a tab stopped working as before. I will describe the expected behavior and how it (still) works on the same computer with a different browser (Chrome): 1. Hover over a tab 2. Middle-click closes a tab 3. Tabs right to the closed one move left 4. Middle-click closes a tab 5. Steps 2-4 may be repeated unless there are no tabs opened 6. Leaving the tabs bar (if any left opened) will now rearrange the remaining tabs (increase their width, etc) Now, here is the not so great behavior I am facing in Firefox: 1. Hover over a tab 2. Middle-click closes a tab 3. Tabs right to the closed one move left '''4. Middle-click rearranges the remaining tabs (increase their width, etc)''' 5. Middle-click closes a tab 6. Steps 2-'''5''' may be repeated unless there are no tabs opened 7. Leaving the tabs bar (if any left opened) will now rearrange the remaining tabs (increase their width, etc), if you have left at last step 3 See, there is this extra step #4 which is really bugging me enough to actually come and ask for a support. I am on Ubuntu 20.04, using latest version of Firefox (to date). Many thanks!

All Replies (2)

more options

Did you check that this isn't a problem with one of your extensions (possibly: Tab Wrangler) ?

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

  • switch to the Default System theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window
more options

You can try Firefox from the official Mozilla server if you currently use a version from the repositories of your Linux distribution to see if it behaves differently.