Closed Bug 341097 Opened 18 years ago Closed 18 years ago

Ctrl-W doesn't close window when tab bar is hidden in a script opened window

Categories

(Firefox :: Tabbed Browser, defect)

2.0 Branch
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 2 beta1

People

(Reporter: sugoibaka, Assigned: zeniko)

References

()

Details

(Keywords: fixed1.8.1, regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060610 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060610 Minefield/3.0a1

Ctrl-W behavior should depend on tab-bar visibility rather than the option "Hide tab bar when only one web site is opened".
When the feature is unchecked, and a script opens a single window without a tab-bar, Ctrl-W blanks the page and adds a tab bar.
This is inconsistent with the idea that a window without a tab-bar is an untabbed window and should behave as an untabbed window, closing on ctrl-w.

Reproducible: Always

Steps to Reproduce:
1. Uncheck "Hide tab bar when only one web site is opened."
2. Go to the noted page (skip an advert if one appears).
3. Click on any of the thumbnails (an untabbed window appears).
4. Click ctrl-w.

Actual Results:  
The window is blanked and a tab bar appears.

Expected Results:  
The window should close.

Refer to bug #236721
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: regression
We should continue to ignore browser.tabs.autoHide for toolbarless windows (as does the tabbrowser).
Assignee: nobody → zeniko
Attachment #225159 - Flags: review?(mconnor)
Attachment #225159 - Flags: approval-branch-1.8.1?(mconnor)
Blocks: 236721
Attachment #225159 - Flags: review?(mconnor)
Attachment #225159 - Flags: review+
Attachment #225159 - Flags: approval-branch-1.8.1?(mconnor)
Attachment #225159 - Flags: approval-branch-1.8.1+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
OT: <label/>s for radio buttons are all nifty - but these are just too easy to hit. Sorry.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
mozilla/browser/base/content/browser.js 	1.479.2.149
mozilla/browser/base/content/browser.js 	1.643
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Keywords: fixed1.8.1
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Target Milestone: --- → Firefox 2 beta1
Version: unspecified → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: