X
Tap here to go to the mobile version of the site.
An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your OS here: https://www.mozilla.org/firefox/new/ For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/kb/add-ons-disabled-or-fail-to-install-firefox

Support Forum

"Warn when closing multiple tabs" not working

Posted

The "Warn when closing multiple tabs" option (which, by the way, is hidden for some reason until you modify its value via about:config) doesn't even do anything. You could close like 10 tabs and Firefox will do it without warning you. Same with the "Close other tabs/tabs to the right" options.

The "Warn when closing multiple tabs" option (which, by the way, is hidden for some reason until you modify its value via about:config) doesn't even do anything. You could close like 10 tabs and Firefox will do it without warning you. Same with the "Close other tabs/tabs to the right" options.
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

McCoy
  • Top 10 Contributor
396 solutions 3449 answers

Hello Leo40Fox,

Would you please check your settings in Options => General :

                   

If you don't use the "Restore previous session" option, on the   about:config   page the preference browser.warnOnQuit should be set to true.

Hello Leo40Fox, Would you please check your settings in Options => General : &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <img src="https://prod-cdn.sumo.mozilla.net/uploads/images/2019-04-07-13-40-30-a72c32.png" width="300"> If you don't use the "Restore previous session" option, on the &nbsp; '''about:config''' &nbsp; page the preference '''browser.warnOnQuit''' should be set to '''true'''.
Was this helpful to you? 0
Quote
jscher2000
  • Top 10 Contributor
8315 solutions 68040 answers

Maybe this is a bug in Beta/Developer? (I checked Developer Edition, version 67.0b8.) The preferences do not seem not to be working:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste warnon and pause while the list is filtered

  • browser.tabs.warnOnClose
  • browser.tabs.warnOnCloseOtherTabs

These are still here and set to true by default. ???

Maybe this is a bug in Beta/Developer? (I checked Developer Edition, version 67.0b8.) The preferences do not seem not to be working: (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk. (2) In the search box above the list, type or paste '''warnon''' and pause while the list is filtered * browser.tabs.warnOnClose * browser.tabs.warnOnCloseOtherTabs These are still here and set to true by default. ???
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17089 solutions 154352 answers

The warn settings are hidden in Options/Preferences when the related prefs have their default value; they only show when they are user set to prevent users from modifying these settings and accidentally disable the warnings. There is also browser.sessionstore.warnOnQuit that is controlled by the second checkbox in the above screenshot to show a warning when you use session restore to reopen tabs automatically; in this case Firefox doesn't show the waning dialog.

Is this about a warning when you close Firefox or about a waning when you would close multiple tabs via the Tab bar context menu or with closing a secondary window or something else ?

The warn settings are hidden in Options/Preferences when the related prefs have their default value; they only show when they are user set to prevent users from modifying these settings and accidentally disable the warnings. There is also browser.sessionstore.warnOnQuit that is controlled by the second checkbox in the above screenshot to show a warning when you use session restore to reopen tabs automatically; in this case Firefox doesn't show the waning dialog. Is this about a warning when you close Firefox or about a waning when you would close multiple tabs via the Tab bar context menu or with closing a secondary window or something else ?
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8315 solutions 68040 answers

Helpful Reply

Here is one change in Firefox 67:

If "Close Tabs to the Right" or "Close Other Tabs" or "Close [selected] Tabs" will close more tabs than shown on the "Undo Close Tab" menu, but less than all tabs in the window, then you will get a warning. Otherwise, you won't get a warning, and you would have to undo the closure if it was done by accident.

https://hg.mozilla.org/mozilla-central/rev/f5b403254529

I'm not ecstatic about this change because I sometimes do mis-click on the context menu.

Here is one change in Firefox 67: If "Close Tabs to the Right" or "Close Other Tabs" or "Close [selected] Tabs" will close more tabs than shown on the "Undo Close Tab" menu, but less than all tabs in the window, then you will get a warning. Otherwise, you won't get a warning, and you would have to undo the closure if it was done by accident. https://hg.mozilla.org/mozilla-central/rev/f5b403254529 I'm not ecstatic about this change because I sometimes do mis-click on the context menu.
Was this helpful to you? 1
Quote

Question owner

McCoy said

Hello Leo40Fox, Would you please check your settings in Options => General :                     If you don't use the "Restore previous session" option, on the   about:config   page the preference browser.warnOnQuit should be set to true.

That's related to quitting the browser entirely, not closing tabs.

''McCoy [[#answer-1212259|said]]'' <blockquote> Hello Leo40Fox, Would you please check your settings in Options => General : &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <img src="https://prod-cdn.sumo.mozilla.net/uploads/images/2019-04-07-13-40-30-a72c32.png" width="300"> If you don't use the "Restore previous session" option, on the &nbsp; '''about:config''' &nbsp; page the preference '''browser.warnOnQuit''' should be set to '''true'''. </blockquote> That's related to quitting the browser entirely, not closing tabs.
Was this helpful to you?
Quote

Question owner

jscher2000 said

Here is one change in Firefox 67: If "Close Tabs to the Right" or "Close Other Tabs" or "Close [selected] Tabs" will close more tabs than shown on the "Undo Close Tab" menu, but less than all tabs in the window, then you will get a warning. Otherwise, you won't get a warning, and you would have to undo the closure if it was done by accident. https://hg.mozilla.org/mozilla-central/rev/f5b403254529 I'm not ecstatic about this change because I sometimes do mis-click on the context menu.

So setting "browser.sessionstore.max_tabs_undo" to 1 should always show the warning when closing more than 1 tab right? Just tested it, and that is indeed the case.

''jscher2000 [[#answer-1212290|said]]'' <blockquote> Here is one change in Firefox 67: If "Close Tabs to the Right" or "Close Other Tabs" or "Close [selected] Tabs" will close more tabs than shown on the "Undo Close Tab" menu, but less than all tabs in the window, then you will get a warning. Otherwise, you won't get a warning, and you would have to undo the closure if it was done by accident. https://hg.mozilla.org/mozilla-central/rev/f5b403254529 I'm not ecstatic about this change because I sometimes do mis-click on the context menu. </blockquote> So setting "browser.sessionstore.max_tabs_undo" to 1 should always show the warning when closing more than 1 tab right? Just tested it, and that is indeed the case.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8315 solutions 68040 answers

Leo40Fox said

So setting "browser.sessionstore.max_tabs_undo" to 1 should always show the warning when closing more than 1 tab right? Just tested it, and that is indeed the case.

Yes, but unfortunately, reduces your ability to restore closed tabs.

''Leo40Fox [[#answer-1212385|said]]'' <blockquote> So setting "browser.sessionstore.max_tabs_undo" to 1 should always show the warning when closing more than 1 tab right? Just tested it, and that is indeed the case. </blockquote> Yes, but unfortunately, reduces your ability to restore closed tabs.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.