Closed Bug 218517 Opened 22 years ago Closed 22 years ago

Pref needed: tabbed browser window 'Are you sure?' close confirmation dialog box when multiple open tabs are going to close preference

Categories

(SeaMonkey :: Tabbed Browser, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzillaPost120030in, Assigned: jag+mozilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 There should be a preference (default: enabled, IMO) to enable an 'Are you sure?' confirmation dialog box when a window is closed that has multible tabs open. For the umpteenth time, I closed a window when I meant to close a tab. Arrgh! Lost posts I was in the middle of editing, forms I'd partly filled,... Reproducible: Always Steps to Reproduce: Open a window with several tabs, close the window. Actual Results: The window and all the tabs close. Expected Results: Confirm that I really wanted to close all the tabs. I've looked through about:config and http://www.mozilla.org/unix/customizing.html#prefs and don't see an extant pref. The UI would probably go in In Preferences...Navigator...Tabbed Browsing Perhaps browser.tabs.confirmMultiTabClose boolean? (or something more generic - browser.confirmClose: 0= confirm nothing; 1= confirm MultiTabClose; 2= confirm all manual closures) This bug is causing me to lose data, but the fix is an enhancement; I'll leave it as severity normal as a compromise?
This already exists. Try a newer build.
<Posting collision; thanks Andrew! Here's my post:> Bug 191578 is related (but NOT a dupe), and a proposed fix to it uses/creates pref browser.tabs.warnOnCloseOther. http://bugzilla.mozilla.org/show_bug.cgi?id=103354#c9 suggests this bug be fixed too, with many people piping up in that bug's comments that the closely related 'close other tabs' feature it too easy to activate, and providing workarounds. I find it very difficult to unlearn the deeply ingrained behaviour of clicking the window close box to close what I'm looking at, and posts to the mentioned bugs show MANY others would not have lost data if this bug was fixed. I love tabbed browsing.
Summary: Pref needed: tabbed browser window 'Are you sure?' close confirmation dialog box when multiple tabs are open preference → Pref needed: tabbed browser window 'Are you sure?' close confirmation dialog box when multiple open tabs are going to close preference
Marking fixed: read http://bugzilla.mozilla.org/show_bug.cgi?id=108973#c161 (OT: Now I just have to decide whether to switch to wamcom, 1.5b, Thunderbird and Firebird, or a nightly... or wait!)
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reopening, clarifying summary: It's not fixed in the UI; there's room in Preferences...Navigator...Tabbed Browsing to toggle the browser.tabs.warnOnClose pref.
Severity: normal → enhancement
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Summary: Pref needed: tabbed browser window 'Are you sure?' close confirmation dialog box when multiple open tabs are going to close preference → UI - settable pref needed: tabbed browser window 'Are you sure?' close confirmation dialog box when multiple open tabs are going to close preference
The Dialog that is available in 1.5b 2003082704 is ok, it only should have the button: 'Close only current tab' on it, because this is probably what the user wanted.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Ivar, you're right. Undoing my changes. Back to fixed, old Summary.
Status: NEW → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Summary: UI - settable pref needed: tabbed browser window 'Are you sure?' close confirmation dialog box when multiple open tabs are going to close preference → Pref needed: tabbed browser window 'Are you sure?' close confirmation dialog box when multiple open tabs are going to close preference
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.