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.

Restore previous session restores the last tab open when I close it with ctrl+w

  • 7 antwurd
  • 1 hat dit probleem
  • 2 werjeftes
  • Lêste antwurd fan kinatas

more options

I have restore previous session turned on because I occasionally use the feature, and it works great. The only issue I'm having is that it loads the last tab I had open even when I close it with ctrl+w. Is there any way I can configure it to only restore previous session when I actually quit firefox rather than when I close the last tab?

It seems that right now with restore previous session on it does this: one tab open -> press ctrl+w -> saves session -> shut down while I'd love for this to happen: one tab open -> press ctrl+w -> closes the last tab and sets the default start page-> saves session -> shut down and one or more tabs open -> press the top right X to exit -> saves session -> shut down

I have restore previous session turned on because I occasionally use the feature, and it works great. The only issue I'm having is that it loads the last tab I had open even when I close it with ctrl+w. Is there any way I can configure it to only restore previous session when I actually quit firefox rather than when I close the last tab? It seems that right now with restore previous session on it does this: one tab open -> press ctrl+w -> saves session -> shut down while I'd love for this to happen: one tab open -> press ctrl+w -> closes the last tab and sets the default start page-> saves session -> shut down and one or more tabs open -> press the top right X to exit -> saves session -> shut down

Bewurke troch kinatas op

Keazen oplossing

You can set a pref on the about:config page to have a button on the Tab bar to restore the previous session. That way you can click this button in case you want to restore the previous session.

  • browser.tabs.restorebutton = 1
Dit antwurd yn kontekst lêze 👍 1

Alle antwurden (7)

more options

Hi, just to make sure did you update your Video Card Drivers around adapterDescription: Intel(R) HD Graphics 620 adapterDescription2: Radeon (TM) RX 480 Graphics driverDate: 2-28-2018 driverDate2: 3-22-2018 As Windows 10 can and will change any and all Hardware Drivers to it's own https://www.howtogeek.com/302595/how-to-stop-windows-10-from-automatically-updating-hardware-drivers/

I would think you would have to go to a Extension for other customize features : https://addons.mozilla.org/en-US/firefox/search/?platform=windows&q=tab+manager

Please let us know if this solved your issue or if need further assistance.

more options

You can set this pref to false on the about:config page to be able to close the last open tab. Note that it is no longer possible to close the last tab with Ctrl+W.

  • browser.tabs.closeWindowWithLastTab = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Pkshadow said

Hi, just to make sure did you update your Video Card Drivers around adapterDescription: Intel(R) HD Graphics 620 adapterDescription2: Radeon (TM) RX 480 Graphics driverDate: 2-28-2018 driverDate2: 3-22-2018 As Windows 10 can and will change any and all Hardware Drivers to it's own https://www.howtogeek.com/302595/how-to-stop-windows-10-from-automatically-updating-hardware-drivers/ I would think you would have to go to a Extension for other customize features : https://addons.mozilla.org/en-US/firefox/search/?platform=windows&q=tab+manager Please let us know if this solved your issue or if need further assistance.

The drivers situation on my machine is quite a delicate one. I'm running a setup with an external GPU and I've tried every combination of drivers and this one seem to work fine for me, even if they're not the very latest versions I'm quite satisfied with it and prefer not to mess around... About the extension for managing open tabs, I'm trying to keep the number of installed extensions to a minimum and would rather avoid installing something as invasive as a third party tabs manager, but will consider it if I can't find another solution...

cor-el said

You can set this pref to false on the about:config page to be able to close the last open tab. Note that it is no longer possible to close the last tab with Ctrl+W.
  • browser.tabs.closeWindowWithLastTab = false
You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

This was already set to false and it partially resolves the issue (despite having me use two different shortcuts to exit) in a way that yes, it doesn't load the last tab I had open because I closed it before exiting firefox, but it still prevents firefox from loading the default home as the last tab open was the "new tab" that comes up whenever you close the last tab or open a new one

more options

Set the startup page to the home page or use a desktop shortcut with your preferred startup page appended if you want to open Firefox with a specific page.

You can check the startup setting.

  • Options/Preferences -> General -> Startup: "When Firefox starts":
    "Show my windows and tabs from last time"
    "Show my home page"
    "Show a blank page"
more options

cor-el said

Set the startup page to the home page or use a desktop shortcut with your preferred startup page appended if you want to open Firefox with a specific page. You can check the startup setting.
  • Options/Preferences -> General -> Startup: "When Firefox starts":
    "Show my windows and tabs from last time"
    "Show my home page"
    "Show a blank page"

The desktop link with the home page would be a really good idea, if it didn't conflict with the restore previous session option... if I start firefox with that shortcut it opens a new tab with the homepage on it, but still restores that last tab left over the previous session... My Firefox is currently set up as "Show my windows and tabs from last time", which is what I want, as from time to time I might want to restore my previous session. What I would like for it to do would be to revert to a home page whenever I close the last tab with ctrl+w, rather than reopening that last tab. I think I will learn to live with it...

more options

Keazen oplossing

You can set a pref on the about:config page to have a button on the Tab bar to restore the previous session. That way you can click this button in case you want to restore the previous session.

  • browser.tabs.restorebutton = 1
more options

cor-el said

You can set a pref on the about:config page to have a button on the Tab bar to restore the previous session. That way you can click this button in case you want to restore the previous session.
  • browser.tabs.restorebutton = 1

This works for me. Thank you very much for your help!