Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Firefox doesn't warn me when I close last window with multiple tabs

  • 11 odpovědí
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od McCoy

more options

I get a warning if I close multiple tabs in Firefox *except* if it's the last window. I've already tried setting all of these to true, and there was no change: browser.showQuitWarning browser.tabs.warnOnClose browser.tabs.warnOnCloseOtherTabs browser.warnOnQuit

I get a warning if I close multiple tabs in Firefox *except* if it's the last window. I've already tried setting all of these to true, and there was no change: browser.showQuitWarning browser.tabs.warnOnClose browser.tabs.warnOnCloseOtherTabs browser.warnOnQuit

Všechny odpovědi (11)

more options

You could check the value of this preference :

browser.tabs.closeWindowWithLastTab

Upravil uživatel McCoy dne

more options

It's set to "true"

more options

sugarcookie said

It's set to "true"

Would you change the value to "false"  ?

(don't forget to close and restart Firefox, in order for the change to take effect)

more options

I tried that and I'm still experiencing the issue.

more options

Actually it is not a issue, it is the standard behaviour for 1 tab.

more options

sugarcookie said

I tried that and I'm still experiencing the issue.

It doesn't have to be a problem :

By default, when Firefox starts, a single window is opened, displaying your specified home page. If you wish, you can configure Firefox to open all windows and tabs from your previous session :

3-bar menu (or Tools) => Options => General => under 'Startup':

check 'Restore previous session'.

more options

Note that Firefox won't warn when you use "Restore Previous Session", so if you currently use this choice then select another.

more options

cor-el said

Note that Firefox won't warn when you use "Restore Previous Session", so if you currently use this choice then select another.

As the OP says :

" warning if I close multiple tabs in Firefox *except* if it's the last window "

I assume that the "Restore Previous Session" is unchecked.

'Suggesting to check it as an option to get previous session back, even after closing the last window inadvertently.

more options

I do have "restore previous session" checked, but it has always warned me on the last window even with that option checked. This behavior is new after an update.

If this is just how Firefox functions now, then I would suggest it's a bug rather than by design. Why would one thing negate the other? I want to restore my session and I want to be warned when closing multiple tabs.

more options

In response to pkshadow - there were multiple tabs open, not just one.

more options

sugarcookie said

I do have "restore previous session" checked, but it has always warned me on the last window even with that option checked. This behavior is new after an update. If this is just how Firefox functions now, then I would suggest it's a bug rather than by design. Why would one thing negate the other? I want to restore my session and I want to be warned when closing multiple tabs.

You get the warning, in case you'd accidentally close all windows/tabs and lose your previous session.

When you check "Restore previous session" you won't need the warning.

I think it's weird that you had the option checked and yet got the warning - I have no explanation for it.