I'm having the exact same problem as what was originally mentioned in this post from 4 years ago.
The "chosen solution" was to exit firefox through the hamburger menu,… (read more)
I'm having the exact same problem as what was originally mentioned in this post from 4 years ago.
The "chosen solution" was to exit firefox through the hamburger menu, which I find to be absolutely ridiculous. You mean to tell me that even though I close EVERY OTHER APPLICATION either using the "X" close button or a custom keybinding that I've set for my own personal convenience, firefox requires me to exit through a menu every time in order to make it behave the way I've told it to? No. Absolutely not. If I tell firefox that I don't want it to save my last session, that means I DON'T WANT IT TO SAVE MY LAST SESSION. If I've deselected the "open previous windows and tabs" option in the settings, then under no circumstances should it be trying to open my previous windows and tabs.
I've tried the suggestion to change the value of browser.sessionstore.max_resumed_crashes from 1 to 0. The problem persists, I assume because firefox considers being closed using the close button to be a "crash", which is interesting.
I the other suggestion further down in the thread was to set browser.sessionstore.resume_from_crash from true to false, which will prevent firefox from recovering a session from a crash. This is hardly an appropriate solution. I want firefox to resume my last session if there is a legitimate (key word LEGITIMATE) crash, because my session was closed against my will due to something that went wrong. Being able to recover my last session in such a situation is nice. I do not, however, want firefox to resume my last session when I explicitly closed the last session myself, which would be the difference between a crash recovery and restoring a previous session. If no crash occurred, I don't need a crash recovery, and aside from a crash, I don't want my previous session to be restored.
Are there any solutions to this at all? Because this is one of the biggest reasons why I stopped using firefox. I want to come back to firefox because everything else that's worth using is either dog shit, or Chromium-based (i.e. also dog shit). However, I find this broken feature to be somewhat of a security issue. If a bad actor somehow gains access to my system, I don't want him to be able to open firefox and have access to my last browser session because I closed firefox using a keyboard shortcut instead of closing it through a goddamned menu.