Closed
Bug 501417
Opened 15 years ago
Closed 15 years ago
Ctrl+W closes the browser window
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 456405
People
(Reporter: vignesh_r_s, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 When using the keyboard shortcut, CRTL+W, to close the current tab, if there's only one tab, the window itself closes. Reproducible: Always Steps to Reproduce: 1.Make sure "Always show the tab bar" is checked (Tool --> Options --> Tabs) 2.Have a single tab open or close all tabs except one. 3.Use the keyboard short to close the current tab CTRL+W Actual Results: The window closes. Expected Results: The current tab (single tab) should close and the window should remain open with a new tab and blank page. This was working fine in the previous version 3.0.11
Comment 1•15 years ago
|
||
Yep, this changed in Firefox 3.5.
Whiteboard: DUPEME
Version: unspecified → 3.5 Branch
You can toggle the hidden preference "browser.tabs.closeWindowWithLastTab" in about:config to keep this from happening.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Comment 4•15 years ago
|
||
Ctrl+W shouldn't close the main window. Ctrl+W is the shortcut for closing the current tab (current MDI child in MDI environment) not for closing a main window (browser). For closing a window there is Alt+F4, and these two shouldn't be mixed. If there are eccentrics who doesn't care if accidentally closes the window because pressing Ctrl+W they should be allowed to override the default behavior (they could because of browser.tabs.closeWindowWithLastTab pref).
You need to log in
before you can comment on or make changes to this bug.
Description
•