Open Bug 521629 Opened 11 years ago Updated 8 years ago

No warning about closing multiple tabs...Warning happens if more than one window is open


(Firefox :: General, defect)

3.6 Branch
Windows Vista
Not set




(Reporter: STCampbell328, Unassigned)



(Whiteboard: [testday-20120413])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/20091007 Firefox/3.5.4 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/20091007 Firefox/3.5.4 (.NET CLR 3.5.30729)

When i go to close or exit firefox with multiple tabs open i do not got any warning of multiple tabs being closed and the whole program just shuts down.  

When i have more than one window of firefox open with multiple tabs on at least one of them.  I can go to close the window with the tabs open and it warns me of multiple tabs trying to be closed.  

I also get a warning if the window with out the tabs that i am closing down is just a popup.

Reproducible: Always

Steps to Reproduce:
1. Open Firefox (one window only)
2. Open more than one tab
3. click the x in the upper right had corner, or go to file exit

Actual Results:  
window closes, firefox is closed

Expected Results:  
To recieve a close confirm window stating
"you are about to close 2 tabs. are you sure you want to continue?"
"{check box checked} warn me when i attempt to close multiple tabs"
"{close tab button} {cancel button}"
I get a warning if i close a window with multiple tabs, while other windows are open and I get a different warning if I close Firefox with only one window open.
Did you disabled the warning (Please check your settings).
yes i have checked my settings.  Everything is checked.  What warning do you get when you close Firefox with only one window open?

This has been happening ever since i got some of the newer updates.
Do you want Firefox to save your tabs for the next time it starts?
[ ] Do not ask later

[quit and save] [Quit] [cancel]"
no i just want a warning just incase i forget that i have more than one tab open and i might have something in another tab i don't want to forget out.
that is the same warning but with an additional option for quit FF but let FF open the currently open tabs on the next start.
I'm having the exact same problem in SeaMonkey 2.0 RC1 on Linux.  It's rather frustrating.  I don't think I should open a separate bug report because I assume that fixing this bug in Firefox will also fix the problem in SeaMonkey.
No, it would not necessarily fix it in Seamonkey unless it is something in core or toolkit (which it could be)
Session Restore is toolkit...
Again, there is nothing to fix because I can not see a bug here.
The warning is there with an additional option to save the tabs for the next startup
It only works when i have more than one window of Firefox open though.  

There is deffenitly a bug.  

I don't want to save my tabs i just want a warning that i am closing my window with more than one tab open
>I don't want to save my tabs i just want a warning that i am closing my window
>with more than one tab open

You get a warning if you close the last window with more than one tab open.
In this warning dialog you can select "quit" or "cancel" and that are the same options as in the warning that you get if you have more than one window open.
The only difference is that you have a third, additional option. don't click on this button (save tabs and quit) if you don't want it.
There is also a checkbox in this dialog that you can use if you don't want to get this dialog again. If the dialog doesn't appear with the last window you seem to have checked this checkbox.

This bug is wontfix if you want this third option (save tabs and quit) removed from the dialog unless you use "delete the history at close" but that is a known and other bug.
This bug is worksforme if you mean that there was never such a dialog and you never used the checkbox and this bug is invalid if you only want to ask how to enable the dialog again after y<ou disabled it because that would be a support question. Support questions should go to (Forum).
A quick search there and you should be able to find for example
The dialog will also not appear if you selected in the options under main that Firefox should start with the tabs you had open and quit. 
There is also another known bug that the tabs are not saved if the window is not the last Firefox window, for example when the download manager window is open.
Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv: Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)

I can confirm this bug. I have the "warn when trying to close multiple tabs" enabled.

Scenario #1:

1) Open one Fx window.
2) Open multiple tabs.
3) Close Fx window.

Scenario #2:

1) Open one Fx window.
2) Open the bookmarks window.
3) Open multiple tabs.
4) Close Fx window.

While I expect the warning in both scenarios, I only receive one in the second scenario.
I can agree with Stijn. It happens for me with FF 3.6.3 and full patched corporate Windows XP.
Version: unspecified → 3.6 Branch
I can confirm this.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10) Gecko/20100101 Firefox/4.0b10
Michal Stanke: your case is bug 627705
(In reply to comment #13)
> I can confirm this.
> Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10) Gecko/20100101 Firefox/4.0b10

Same here.. FF 4.0b10 but could you tell me how to get the detailed version and stuff? Does it require an add-on?
i have this same problem, i didn't know about the 2nd scenario about opening 2 separate windows, but when i tried it it did the warning as the people explained, and i just want to add 1 small point, i use firefox 4 on ubuntu x64, and it does the same, so this bug should be expaned to all OS's
I dunno if this helps but here's my user agent:
Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12pre) Gecko/20110203 Firefox/4.0b12pre (note that it does the same with the beta not only pre releases)
I can confirm this bug too.
For me, Firefox 3.6 and older version are works fine, no problem. But Firefox 4 Beta 11 has this bug, completely the same.
I already back to use Firefox 3.6 now, and my OS is Windows Vista x64.
Hope you guys fix this bug as soon as possible. Because of this bug, I can't upgrade to Firefox 4 now.
Sorry for my poor English.
This bug is NOT about Firefox4. The Firefox4 case is bug is bug 627705
Duplicate of this bug: 635181
I can confirm this bug. I am using Firefox 4.0, and it's really annoying.

I've toggled the option multiple times, restarting the browser, and it simply does not warn me about closing a browser with multiple tabs.

This has saved Pandora radio multiple times in older versions of FF. =)
Ok, i've had this problem in the nightlys, as you could see in comment 16, anyway i'm using the stable build now on Ubuntu x64 and i don't seem to have the problem anymore, i'm not sure if it was fixed or something i messed with on the about:config, and when i just checked the "browser.tabs.warnOnClose" flag was set to "true" by default (wasn't written in bold).
can anybody who previously had the problem confirm that he doesn't have it any more or something?
Yes, I can. Bata version had the "wrong" behaviour. Now (in 4.0 final) Firefox is warning you by default.
I'm using version 5.0.1, which I just installed. I am able to duplicate this issue still. (Warn when multiple tabs are open is selected, only produces warning if multiple windows are open).
can confirm with Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111217 Firefox/9.0 SeaMonkey/2.6
Reproducible on Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Ever confirmed: true
Whiteboard: [testday-20120413]
Duplicate of this bug: 609830
Ok just want to add a small note here, this bug doesn't appear in a freshly installed firefox, but after a while ( i don't know if its an addon or what ) the problem appears by it self.
Totally despair - comments go back over 5 years and the problem persists.
Just how long can this go on for ...
I don't see there ever being a solution in my lifetime.
Maybe have to call in AutoHotKey to test for hitting an X on the top right of the screen.
This is unforgivable.
You need to log in before you can comment on or make changes to this bug.