X
Tapnite tukaj za mobilno različico spletne strani.

Forum za podporo

"Warn when closing multiple tabs" not working

Objavljeno

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

Dodatne podrobnosti o sistemu

Nameščeni vtičniki

  • Shockwave Flash 32.0 r0

Program

  • Uporabniški agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Več informacij

McCoy
  • Top 10 Contributor
489 rešitev 4494 odgovorov

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'''.
Vam je bilo v pomoč? 0
Citiraj
jscher2000
  • Top 10 Contributor
8568 rešitev 70054 odgovorov

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. ???
Vam je bilo v pomoč?
Citiraj
cor-el
  • Top 10 Contributor
  • Moderator
17334 rešitev 156717 odgovorov

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 ?
Vam je bilo v pomoč? 0
Citiraj
jscher2000
  • Top 10 Contributor
8568 rešitev 70054 odgovorov

Koristen odgovor

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.
Vam je bilo v pomoč? 1
Citiraj

Koristen odgovor

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.
Vam je bilo v pomoč? 1
Citiraj

Lastnik vprašanja

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.
Vam je bilo v pomoč?
Citiraj
jscher2000
  • Top 10 Contributor
8568 rešitev 70054 odgovorov

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.
Vam je bilo v pomoč?
Citiraj
UmpahPah 0 rešitev 3 odgovorov

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!
Vam je bilo v pomoč? 1
Citiraj
jscher2000
  • Top 10 Contributor
8568 rešitev 70054 odgovorov

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.
Vam je bilo v pomoč? 0
Citiraj
gbonehead 0 rešitev 3 odgovorov

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.
Vam je bilo v pomoč?
Citiraj
jscher2000
  • Top 10 Contributor
8568 rešitev 70054 odgovorov

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.
Vam je bilo v pomoč? 0
Citiraj
gbonehead 0 rešitev 3 odgovorov

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.
Vam je bilo v pomoč?
Citiraj
jscher2000
  • Top 10 Contributor
8568 rešitev 70054 odgovorov

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
Vam je bilo v pomoč?
Citiraj
Vprašajte

Morate se prijaviti v svoj ​​račun, če hočete odgovarjati na prispevke. Začnite novo vprašanje, če še nimate računa.