Open Bug 514053 Opened 15 years ago Updated 2 years ago

when there's only one tab in the tab bar, Close Tab entry should read Close Window with default setting when browser.tabs.closeWindowWithLastTab = true

Categories

(Firefox :: Menus, defect)

x86
All
defect

Tracking

()

People

(Reporter: beltzner, Unassigned)

References

Details

Like the summary says: when there's only one tab in the tab bar, Close Tab entry on the context and menubar should read Close Window with default setting when browser.tabs.closeWindowWithLastTab = true to help users understand that the tab, at that point, is the window.

When browser.tabs.closeWindowWithLastTab = false, it should stay as "Close Tab"
Depends on: 455852
Really? That would be two Close Window items in the File menu.
Component: General → Menus
QA Contact: general → menus
if firefox 3.7 will have the rigid home-tab on the left this issue would become invalid anyway.
I think, closing the last tab should clear the tab - as it used to be in FF 3.0.
Blocks: cuts-cruft
IMO the context entry should read "Close Window" and the entry in the File menu should be hidden when browser.tabs.closeWindowWithLastTab = false. If you come up with a decision, I can make a patch.
No longer blocks: cuts-cruft
Mike, Alex: what's on your mind about this one year later?
Version: 3.6 Branch → Trunk
(In reply to comment #5)
> Mike, Alex: what's on your mind about this one year later?
You didn't ask me, but I'm still annoyed by the new behavior. I'd still prefer to have the possibility for the "old" behavior (until FF 3.0).
If the tab close button is removed from the single remaining tab (or Firefox is open with only app tabs remaining), then the Close Tab entry in the File menu should be disabled.

(The caveat is that I believe that the close button should not be removed, adn closing the last normal tab should close the window, but beltzner and I disagree on this)
alex: why disable close tab in the file menu for app tabs? they are still closable via their context menu
yeah that should be fine, we need to make sure that accel-w doesn't close app tabs though, since they should be as hard to get rid of as they are to create.
Thanks for this information. I'll try to come up with a patch.
Assignee: nobody → michaelkohler
Status: NEW → ASSIGNED
Assignee: michaelkohler2010 → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.