X
Tap here to go to the mobile version of the site.

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
521 solutions 4902 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
8638 solutions 70685 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
17422 solutions 157420 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? 0
Quote
jscher2000
  • Top 10 Contributor
8638 solutions 70685 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

Helpful Reply

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? 1
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
8638 solutions 70685 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
UmpahPah 0 solutions 3 answers

jscher2000 said

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.

Ok, so this is the right connection, finally, and thank you for that! Buy what a silly logic, and why those two (number of remembering open tabs and warn on close) needs to be in relationship?! Especially it wasn't the case before!

Is there any chance to un-link this ridiculous restriction? And how to ask Firefox developers, as I don't believe they are reading those lines....

Thanks for solving the puzzle, anyway!

''jscher2000 [[#answer-1212449|said]]'' <blockquote> ''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. </blockquote> Ok, so this is the right connection, finally, and thank you for that! Buy what a silly logic, and why those two (number of remembering open tabs and warn on close) needs to be in relationship?! Especially it wasn't the case before! Is there any chance to un-link this ridiculous restriction? And how to ask Firefox developers, as I don't believe they are reading those lines.... Thanks for solving the puzzle, anyway!
Was this helpful to you? 1
Quote
jscher2000
  • Top 10 Contributor
8638 solutions 70685 answers

umpahpah said

Is there any chance to un-link this ridiculous restriction?

I am not aware of any settings to change it back to the way it worked before, no.

''umpahpah [[#answer-1229048|said]]'' <blockquote> Is there any chance to un-link this ridiculous restriction? </blockquote> I am not aware of any settings to change it back to the way it worked before, no.
Was this helpful to you? 0
Quote
gbonehead 0 solutions 3 answers

This is indeed an EXTREMELY unhelpful change. I'm very glad I found this by accident rather than how I could have found it - on occasion I've used that dialog to figure out how many tabs I have open and would have been *very* *very* upset to accidentally close ALL THE TABS.

I can't imagine who would want this change - if there's a setting for warn on multiple tabs, why on earth would anyone want that setting NOT to work?

I've never actually built Firefox from source before but this "improvement" is ridiculous enough that I'm willing to do a custom build just to get rid of this absurd change.

Who on earth reported that as a BUG? Good Lord.

This is indeed an EXTREMELY unhelpful change. I'm very glad I found this by accident rather than how I could have found it - on occasion I've used that dialog to figure out how many tabs I have open and would have been *very* *very* upset to accidentally close ALL THE TABS. I can't imagine who would want this change - if there's a setting for warn on multiple tabs, why on earth would anyone want that setting NOT to work? I've never actually built Firefox from source before but this "improvement" is ridiculous enough that I'm willing to do a custom build just to get rid of this absurd change. Who on earth reported that as a BUG? Good Lord.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8638 solutions 70685 answers

gbonehead said

I'm very glad I found this by accident rather than how I could have found it - on occasion I've used that dialog to figure out how many tabs I have open and would have been *very* *very* upset to accidentally close ALL THE TABS.

I'm not sure I understand what you were clicking to get a tab count. The warning that is suppressed is the one associated with:

  • right-click > Close Other Tabs
  • right-click > Close Tabs to the Right
  • right-click > Close Tabs (referring to multi-selected tabs, dangerous if you select all tabs in the window)

The warning for closing a window using the "X" button has not changed. If you have Firefox set to restore your session at startup and you want a warning when closing the last window, there is a checkbox on the Options page, General panel: check the box for "Warn you when quitting the browser".

Either way, an extension would be a safer approach for getting a tab count.

''gbonehead [[#answer-1235899|said]]'' <blockquote> I'm very glad I found this by accident rather than how I could have found it - on occasion I've used that dialog to figure out how many tabs I have open and would have been *very* *very* upset to accidentally close ALL THE TABS. </blockquote> I'm not sure I understand what you were clicking to get a tab count. The warning that is suppressed is the one associated with: * right-click > Close Other Tabs * right-click > Close Tabs to the Right * right-click > Close Tabs (referring to multi-selected tabs, dangerous if you select all tabs in the window) The warning for closing a window using the "X" button has not changed. If you have Firefox set to restore your session at startup and you want a warning when closing the last window, there is a checkbox on the Options page, General panel: check the box for "Warn you when quitting the browser". Either way, an extension would be a safer approach for getting a tab count.
Was this helpful to you? 0
Quote
gbonehead 0 solutions 3 answers

You're nitpicking the example and ignoring the problem. The "why" doesn't really matter all that much, that was just an example.

The problem is making a change to existing, intuitive behavior as if it's a bug fix. The existing implementation paid attention to the "warn if closing multiple" setting. The new implementation mysteriously ignores that setting and generates pointless confusion.

Having a setting such as "warn when closing multiple tabs" that is silently and mysteriously ignored as *new* *behavior* is not good design. If someone wanted new behavior, there should be a new setting, not a strange and different interpretation of long-existing settings.

You're nitpicking the example and ignoring the problem. The "why" doesn't really matter all that much, that was just an example. The problem is making a change to existing, intuitive behavior as if it's a bug fix. The existing implementation paid attention to the "warn if closing multiple" setting. The new implementation mysteriously ignores that setting and generates pointless confusion. Having a setting such as "warn when closing multiple tabs" that is silently and mysteriously ignored as *new* *behavior* is not good design. If someone wanted new behavior, there should be a new setting, not a strange and different interpretation of long-existing settings.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8638 solutions 70685 answers

gbonehead said

You're nitpicking the example and ignoring the problem. The "why" doesn't really matter all that much, that was just an example.

Actually, this is a support forum, so we focus on making the Firefox we have today meet your needs, through settings changes, add-ons, or other workarounds. You described what you wanted to do and I addressed it. Is that not what you want to do? When do you run into this problem?

Anyway, here in support, we don't make UX or development decisions. You could submit comments and suggestions for feature changes through one or more of the following links, or recently I saw someone created a Change.org petition (no idea whether that helps):

''gbonehead [[#answer-1235934|said]]'' <blockquote> You're nitpicking the example and ignoring the problem. The "why" doesn't really matter all that much, that was just an example. </blockquote> Actually, this is a support forum, so we focus on making the Firefox we have today meet your needs, through settings changes, add-ons, or other workarounds. You described what you wanted to do and I addressed it. Is that not what you want to do? When do you run into this problem? Anyway, here in support, we don't make UX or development decisions. You could submit comments and suggestions for feature changes through one or more of the following links, or recently I saw someone created a Change''.''org petition (no idea whether that helps): * Feedback: https://qsurvey.mozilla.com/s3/FirefoxInput/ * Discourse: https://discourse.mozilla.org/c/firefox-development * Reddit: https://www.reddit.com/r/firefox/ * Twitter: https://twitter.com/firefox * Facebook: https://www.facebook.com/Firefox
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.