Closed Bug 1634905 Opened 4 years ago Closed 4 years ago

Add option to not restore windows/tabs if Firefox closed via shutdown or logout

Categories

(Firefox :: Session Restore, enhancement)

75 Branch
x86_64
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 336193

People

(Reporter: mozilla.org, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

Please add an option to NOT restore windows/tabs if Firefox is closed via a shutdown or logout.

I expect closing Firefox via logout/shutdown to behave exactly as if I selected "Menu->Quit" first. That's what every other application does.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → Session Restore

This feature already exists, it's located in Options in General tab in General section as "Restore previous session".
I'm marking this bug as WORKSFORME, but if it's it's not what you meant, fell free to reopen this bug.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
QA Contact: Virtual
Resolution: --- → WORKSFORME

"Restore previous session" is already unchecked for me, and yet it still restore the session when I restart Firefox after a reboot.

Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---

(In reply to Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.) from comment #1)

This feature already exists, it's located in Options in General tab in General section as "Restore previous session".
I'm marking this bug as WORKSFORME, but if it's it's not what you meant, fell free to reopen this bug.

Yes, but I can confirm it does not seem to work properly (on linux?). I'm on Fedora 31 & Firefox 76 and have disabled "Restore previous session" as well as changed the following settings:

browser.sessionstore.restore_hidden_tabs : false
browser.sessionstore.restore_on_demand : false
browser.sessionstore.restore_pinned_tabs_on_demand: false
browser.sessionstore.restore_tabs_lazily: false
browser.sessionstore.resume_from_crash: false
browser.sessionstore.resume_session_once: false
browser.sessionstore.resuming_after_os_restart: false

But if I reboot/shut down with firefox still open my session will be restored on next start.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.