Closed Bug 436270 Opened 16 years ago Closed 15 years ago

Middle-Click on bottom row of pixels of tab OPENS last closed tab.

Categories

(Firefox :: Tabbed Browser, defect)

3.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: macnkirby, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008051206 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008051206 Firefox/3.0

If I middle-click to close a tab, but accidentally hit just the very bottom edge of the tab, it actually opens up the last closed tab. It also does not close the tab desired to do so.

Reproducible: Always

Steps to Reproduce:
1.Open a new tab
2.Close one of the tabs by middle-clicking it
3.Open a new tab again
4.Close one of the tabs by middle-clicking the very bottom edge of a tab.
Actual Results:  
It appears that it doesn't have to be the very last row of pixels, but a thickness of several pixels at the bottom, probably equal to the border on each side of the tabs, that runs along the top of a viewed page when in tabbed mode.

Expected Results:  
Expected tab to close, and one I closed previously to stay that way as well.

Using the default theme.
Version: unspecified → 3.0 Branch
I also noticed that if I middle-click in open-space to the right of tabs (unused tab space) that the same thing happens. I guess that's a function and not a bug? It would be good, though, if that didn't carry over to the bottom borders of opened tabs.
Can't reproduce on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008052606 Minefield/3.0pre

To my knowledge Firefox does not re-open closed tabs other than through the History menu, what you're experiencing is likely the work of an extension. (Tab mix plus does something like this IIRC)
I have the same problem. I hate the reopening of tabs with a middle click. I hope there is a setting somewhere to disable it.
These are the plugins/extensions I have installed:

Adblock Plus
Stumbleupon
Session Manager
ForecastFox
...and that's it.

I am now using the final version, out of beta. I did a clean install, reinstalling my add-ons, and the problem still persists. I will test turning the plugins on and off and report back here later.
Firefox 3.0

Adblock Plus
Download Helper
Down Them All
IE Tab
NoScript
Slashdotter
Tab Mix Plus
Web Developer

Yes, this is a feature, but the problem is that the middle click to close a tab (which I like) only activates on a particular part of the tab you click. I have tested. Specifically, this active area is defined by a vertical range on each of the tabs which encompasses the favicon, text area, and the close button.

However, there is a small range of pixels, both above and below this area (around 5 or so pixels on my 1024 screen) which, when middle clicked, will have the same behavior as if you clicked empty area on the tab bar.

This appears to me to be a problem only with the vertical range, as I have tested middle clicks up to the horizontal limits of each tab, and could not reproduce the bug.

I would assume the problem is linked to the fact that this area is not part of the tab gui element within the code, and is instead logically in the same part of the tab bar as the empty section of the tab bar.

So this is a bug, but more of an oversight than an outright screwup. Anyone who could look into the code for this would be much appreciated.

I could also live without the restore-tab-on-middle-click functionality, so if anyone knows appropriate changes to about:config, that would also be appreciated.

Thanks
Nope, sorry, I should have read comments first.

Ryan A. C. is correct on this.

This is a bug with Tab Mix Plus, not with Firefox. Disabling TMP solves this issue, which doesn't help me of course, but it's not coming from FF.
So this hasn't been caused by Tab Mix Plus (which is bug 440147)? Kirby, if this is still a problem with the most recent version of Firefox feel free to reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.