Closed Bug 392269 Opened 17 years ago Closed 16 years ago

'Close all tabs right/left of this one' function needed

Categories

(Firefox :: Tabbed Browser, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mail, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

I often find myself in the situation, that many tabs have accumulated, and I want to clean up. There are always some 'default tabs' that I never want to close, for example containing my webmail interface, online bookmarks and such. Now when I use the 'right click on tab / Close Other Tabs' function, this closes all except the tab I clicked on.

Now, what I'd like to have, is a function to close all tabs to the left or to the right of the tab on which i performed the right click action. This would greatly improve the browser's usability for me.

Cheers,
Patrick.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
I'm using the userChrome.js extension with a script:
http://forums.mozillazine.org/viewtopic.php?t=397735
The script should be within the last 20 pages I think.. :)
In practice I only use the "Close Right Tabs" option.
But I think indeed this would be a good feature to build in.
Confirming for I can't find a duplicate
Status: UNCONFIRMED → NEW
Ever confirmed: true
I think it is a function that a lot of people would use (more than "Close Other Tabs") and next to the coming "Duplicate Tab" item (Bug 455722) it would be a great enhancement.
Flags: blocking-firefox3.1?
Seems like a great place for an add-on for people who really get into their tabs, but not an option that we'd want to include in the stock builds of Firefox.
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: blocking-firefox3.1? → blocking-firefox3.1-
Resolution: --- → WONTFIX
See bug 566510 for how we'd ideally like to solve this.
(In reply to comment #6)
> See bug 566510 for how we'd ideally like to solve this.

That's even better, and I see a lot of work has been done already. :) Thanks!
> See bug 566510 for how we'd ideally like to solve this.

This bug 392269 asks for an easy way - with one click preferably - to discard piled up tabs.

The bug 566510 (it lacks a screenshot unfortunately) implements some sort of a swiss army which would be as cumbersome to use as the Fx actually here is: you would have to click (select) every tab before you can issue a command to close them. Now in Fx you have to click on every tab to close it. (Partially mitigated by moving "close tab" button from tab to the tab bar itself.) So it is no change as this bug is concerned.
(In reply to comment #8)
> > See bug 566510 for how we'd ideally like to solve this.
> 
> This bug 392269 asks for an easy way - with one click preferably - to discard
> piled up tabs.
> 
> The bug 566510 (it lacks a screenshot unfortunately) implements some sort of a
> swiss army which would be as cumbersome to use as the Fx actually here is: you
> would have to click (select) every tab before you can issue a command to close
> them. Now in Fx you have to click on every tab to close it. (Partially
> mitigated by moving "close tab" button from tab to the tab bar itself.) So it
> is no change as this bug is concerned.

From how I understood bug 566510, it doesn't involve clicking every tab. You arrange the tabs so they are all next to each other (you would have to do this with the approach I described in this bug, as well), then you can click on the first, hold the <Shift> key and click the last, then right-click on the now selected tabs, and choose "Close" from the menu. It's slightly more work than what I proposed, but it's more universal, since you can also just close a group of tabs "in the middle", and it's quite intuitive, IMO.
You need to log in before you can comment on or make changes to this bug.