X
Tocca qui per la versione per piattaforma mobile del sito.

Forum di supporto

"Warn when closing multiple tabs" not working

Inserita

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.
Citazione

Dettagli aggiuntivi sul sistema

Plugin installati

  • Shockwave Flash 32.0 r0

Applicazione

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

Ulteriori informazioni

McCoy
  • Top 10 Contributor
433 soluzioni 3862 risposte

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'''.
È stato utile questo messaggio? 0
Citazione
jscher2000
  • Top 10 Contributor
8433 soluzioni 68786 risposte

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. ???
È stato utile questo messaggio?
Citazione
cor-el
  • Top 10 Contributor
  • Moderator
17186 soluzioni 155328 risposte

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 ?
È stato utile questo messaggio? 0
Citazione
jscher2000
  • Top 10 Contributor
8433 soluzioni 68786 risposte

Risposta utile

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.
È stato utile questo messaggio? 1
Citazione

Risposta utile

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.
È stato utile questo messaggio? 1
Citazione

Utente che ha posto la domanda

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.
È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
8433 soluzioni 68786 risposte

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.
È stato utile questo messaggio?
Citazione
umpahpah 0 soluzioni 3 risposte

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!
È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
8433 soluzioni 68786 risposte

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.
È stato utile questo messaggio?
Citazione
Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.