Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

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

  • 11 antwurd
  • 1 hat dit probleem
  • 8 werjeftes
  • Lêste antwurd fan 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

Alle antwurden (11)

more options

You could check the value of this preference :

browser.tabs.closeWindowWithLastTab

Bewurke troch McCoy op

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.