Quickly closing tabs with middle mouse button is no longer smooth (randomly reopens tabs, sometimes resize tabs)

NEW
Unassigned

Status

()

defect
5 years ago
2 years ago

People

(Reporter: Dpeelen, Unassigned)

Tracking

(Blocks 1 bug)

29 Branch
x86_64
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140506152807

Steps to reproduce:

(Quickly) close a few tabs with the middle mouse button (Possible in combination with moving the mouse slightly)


Actual results:

The remaining tabs do not land right under the mouse button, sometimes the tabs resize, this should no longer happen as of Bug 465086.


Expected results:

The tab that was on the right of the current tab should be moved under the mouse cursor, if the middle mouse button is clicked again (rapidly), said tab should close. Right now, sometimes a random new tab is opened (like when middle clicking on a empty part of the tab bar), or the tabs on the tab bar resize and a tab on the left is closed instead.

For clarity, this was previously fixed by Bug 465086, as of firefox 29, this has been messy. Might be related to the new close animation. The animation itself is cute and all, but tabs shouldn't behave as a moving target during the animation.

My common usecase:
I have 10 tabs, and i want to close 4 (TabX1 trough 4):

|Tab1|Tab2|Tab3|tab4|TabX1|TabX2|TabX3|TabX4|Tab5|

It used to be possible to quickly click the middle mouse button 4 times on TabX1, and then all tabs would be closed. Right now, it sometimes randomly close tab4, or opens a empty tab.
Small update: Tab mix plus has a option to disable tab animations (on close), that instantly fix the problem.
User Agent 	Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID 	20160106030225

Tested on Windows 7 x64 with the Nightly 46.0a1 build. I can't reproduce the problem. Please retest this issue with the latest version of Firefox (https://www.mozilla.org/en-US/firefox/new/) without Tab mix plus installed. Thank you.
Flags: needinfo?(Dpeelen)
Posted video Steps to reproduce
This is what i did:

1. Open 25 tabs with the nightly homepage.
2. Scroll to the right on the tab bar.
3. Close them one at the time using the middle mouse button (I clicked 3x).

Now every time I close a tab in the center, the tabs from the right scroll right under my cursor.

4. Click rapidly 2-3x in a row.

Now the tab bar scrolls to the left, leaving different tabs under my cursor than expected.

Also see video in attachment.
Flags: needinfo?(Dpeelen)
I see it sometimes. Maybe related to bug 998279.
Blocks: 593680
Status: UNCONFIRMED → NEW
Component: Untriaged → Tabbed Browser
Ever confirmed: true
I like to add that, on a slow pc, you do not even need to click more than once to get this behavior, the entire 'scroll next tab under mouse and resize tabs when cursor leaves tab bar' is broken.
You need to log in before you can comment on or make changes to this bug.