Closed Bug 666940 Opened 10 years ago Closed 9 years ago

Firefox 5 does not warn on Cmd+Q (showQuitWarning / warnOnQuit)


(Firefox :: General, defect, P1)

5 Branch





(Reporter: sealedidentity, Unassigned)


User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0

This issue is seen in the latest official Firefox 5.0 release.

Until Firefox 4.x, if "showQuitWarning" and "warnOnQuit" were set to TRUE, a warning message was displayed if a user deliberately or inadvertently quits the application when multiple browser windows or tabs remained open. However, since upgrading to Firefox 5, the warning message is NOT DISPLAYED although the settings have remained the same. This causes a total loss of the browsing sessions *without warning*. This is even more critical if the the user has set to clear the browser's history/cache upon quitting the browser.

This issue is currently seen on Mac OS X (10.6.8), and is easily reproducible.

Reproducible: Always

Steps to Reproduce:
Mac OS X (10.6.8)
Firefox 5
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0

browser.tabs.warnOnClose = TRUE
browser.showQuitWarning = TRUE
browser.warnOnQuit = TRUE

Oddly enough, even with the above settings, these user-defined modifications are not reflected in the "Modified Preferences" section under ABOUT:SUPPORT (or)
Firefox 5 > Help > Troubleshooting Information

1. Open multiple websites on multiple tabs (say,,
2. On the Mac, press Cmd+Q.
3. Firefox 5 quits without displaying a warning.

Actual Results:  
Firefox 5 quits without displaying a warning.

Expected Results:  
A warning message (similar to what was in Firefox 4.x) should be displayed:

Do you want Firefox to save your tabs for the next time it starts?
[] Do no ask next time
[Save and Quit]   [Quit]   [Cancel]
Priority: -- → P1
Version: unspecified → 5 Branch
WFM on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a1) Gecko/20110626 Firefox/7.0a1

I started with a new profile and set browser.showQuitWarning = TRUE

When i press cmd+q the "save your tabs" dialog appears. You have to have at least two tabs opened.
I can confirm the bug on Win XP PRO. 
browser.showQuitWarning = TRUE
browser.warnOnQuit = TRUE

Yet browser does not display the Quit Warnig, which would allow you to save open tabs.
The effectively makes use if TAB groups impossible, as they can not be saved (what's the point of spending time in creating tab groups is all that work is lost after closing the browser?)

This is on an installation that was upgraded from Firefox 3.6 to Firefox5
under FF3.6 browser.showQuitWarning and browser.warnOnQuit were both set to FALSE. Set them to TRUE in FF5, but FF5 seems to ignore that setting.
Reporter, does the issue still occurring?
Please test also on the latest Firefox beta:
Vlad: I followed your initial suggestion to create a new profile, and only then did it start to work as desired.  However, the issue persists if I use my original (default) profile.  I haven't had a chance to test this on the 6.0b5 yet.
The new Firefox 6 will be out, so you can try on it to see if the issue it's reproducible or not.
If you say that the problem isn't reproduce anymore on a clean profile, that means that is not a bug.
If you are using the old profile, and the problem appears, that means that your profile has a glitch somewhere (perhaps some files were modified).
If that is the case, I don't know what you can do, except start using a new profile.
(In reply to volker.soffel from comment #2)
> I can confirm the bug on Win XP PRO. 
> browser.showQuitWarning = TRUE
> and
> browser.warnOnQuit = TRUE

what?  windows doesn't have ctrl+Q shortcut.
Reporter, do you have anything new about this issue? Can this bug be closed?
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Vlad: Thank you. You can close this bug. Apologies for the tardiness.
You need to log in before you can comment on or make changes to this bug.