Closed
Bug 121794
Opened 24 years ago
Closed 24 years ago
Closing last tab should close whole window
Categories
(SeaMonkey :: Tabbed Browser, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 109651
People
(Reporter: cesarb, Assigned: jag+mozilla)
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020123
BuildID: 2002012308
When you enabled the pref to show tabs even if there is only one, the "close
tab" button in the tabs bar does nothing when there's only one tab left. It
should close the whole window instead.
Reproducible: Always
Steps to Reproduce:
1.Disable the "hide tab when there's only one" pref
2.Open a new window
3.Click in the close icon to the right of the tabs bar.
Actual Results: Nothing.
Expected Results: Closed the tab and the window (since the last tab was gone)
1) If this is hooked up to close the browser, it might be smart to confirm the
action for consistency with bug 108973.
2) It would also make sense for this action to close the last tab, but leave the
browser open with no tabs (tab height is maintained, just no tabs), disable/hide
the [X], and have a "blank" browser panel/window. This could be about:blank,
some kind of splash screen, or a giant red lizard as an easter egg for all I
care... just thought the possibility should be explored; I don't like the idea
of this closing the browser completely, that's what the close button is for.
Reporter | ||
Comment 2•24 years ago
|
||
1) The issue in bug 108973 is for when you have more than one tab open. Since
this bug is for when you only have one tab open, it doesn't apply.
2) Your proposed behavior is inconsistent with Ctrl+W (which is also close tab).
The "Close Tab" menu item also has the same inconsistency as the close button.
Suppose I have 20 tabs open on various pages and another two windows (with more
tabs). I want to collect the garbage on the first window. I do this by selecting
the tabs in sequence (starting on the right, since closing a tab moves you to
the previous one), checking if it's still useful, and if it's not, closing it.
It's a lot quicker to do it by clicking on the close button (or using the tab
menu), since I barely have to move the mouse (not at all in the button case).
However, if it's the last page, I can't keep on clicking; I must move the mouse
to the (smaller) close window button, or use the keyboard.
I also sometimes open a site in a new window, open lots of the links on it as
new tabs, and close them after finishing reading (I do this a lot with mailing
list archives). The last one has to be closed in a different way, just to annoy me.
Reporter | ||
Comment 3•24 years ago
|
||
*** This bug has been marked as a duplicate of 109651 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•