Closed Bug 668593 Opened 13 years ago Closed 13 years ago

When closing a tab, other tabs should resize when possible.

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Dpeelen, Unassigned)

Details

When closing tabs, they do not resize as of bug 465086.
This is nice if you want to close multiple tabs, as the close button is now no longer a moving target.

However, the current animations are a bit distracting, as they trigger on a unexpected moment. Also, bug 667607 mention the tab labels are to small to read right away.

I propose to make the tabs on the right of the selected tabs to stretch to max size where possible, while keeping the current tab + those on the left on there old width, so that the close button does not move (notice the current tab is actually the tab that was on the right of the just closed tab).
When using the middle mouse button to close tabs, only the tabs on the left of the current tab should keep there old width until the mouse leaves the tab bar.
(In reply to comment #0)

> However, the current animations are a bit distracting, as they trigger on a
> unexpected moment.

Bug 652735 helps here (bound to Tabbar) so this should be a non-Issue, no?
No, that's not even related. My idea is that part of the resizing happens right away, like this:
Before:
-------------------------------------------------------------------
| 1        | 2        | 3      X | 4        | 5        | 6        |
After close:
-------------------------------------------------------------------
| 1        | 2        | 4      X | 5              | 6             |
After moving cursor:
-------------------------------------------------------------------
| 1          | 2          | 4        X | 5           | 6          |

Currently it would look like this:
Before:
-------------------------------------------------------------------
| 1        | 2        | 3      X | 4        | 5        | 6        |
After close:
-------------------------------------------------------------------
| 1        | 2        | 4      X | 5        | 6        |///////////
After moving cursor
-------------------------------------------------------------------
| 1          | 2          | 4        X | 5           | 6          |
Having tabs of varying sizes is more distracting, difficult to target, and an unacceptable solution.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.