Closed Bug 206142 Opened 21 years ago Closed 21 years ago

Client exits on CTRL-W (Close Tab) when there are no more TABS open.

Categories

(Firefox :: Toolbars and Customization, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: kris, Assigned: hyatt)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6

I don't think this should operate this way, just my opinion. Alt-F4 or the X
button is for closing applications.

Reproducible: Always

Steps to Reproduce:
1. Open a Tab
2. Press Ctrl-W
3. Press Ctrl-W again

Actual Results:  
Client Exiting

Expected Results:  
return 0;
This is intended behavior. Ctrl+W closes the current tab. If there is just one
tab opened, closing that tab results in 0 tabs opened = closed window.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Summary: Client exits on CTRL-W (Close Tab) when there are no more TABS open. → Client exits on CTRL-W (Close Tab) when there are no more TABS open.
v.
Status: RESOLVED → VERIFIED
Taking QA Contact
QA Contact: asa → bugzilla
*** Bug 253949 has been marked as a duplicate of this bug. ***
This should be reopened, because Ctrl+W is now inconsistent with Ctrl+F4 and tab
close button (which only blank the last tab instead of closing a window).

Here's how to fix it:
1. Ctrl+W should act just like Ctrl+F4 and tab close button.
2. Ctrl+Q should be added to complement Alt+F4 for window closing.

I guess, Ctrl+Q should be an option, because it's too close to Ctrl+W and thus
dangerous.
BTW consider this scenario:

I see about a dozen tabs opened and i want to close them all. So i just hit
Ctrl+W around a dozen times in quick succession. Needles to say, if i hit it one
time too many i'll close the Firefox window instead of just closing all tabs.
Annoying.

Moral of the story: it's a bad idea to give the same keyboard shortcut different
meanings (in near the same context).
*** Bug 301274 has been marked as a duplicate of this bug. ***
QA Contact: bugzilla → toolbars
You need to log in before you can comment on or make changes to this bug.