Closed Bug 1095941 Opened 11 years ago Closed 11 years ago

When I shut down my Ubuntu without closing Firefox I always get "Embarrassing" message on the next launch

Categories

(Firefox :: Session Restore, defect)

33 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: vano_t, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141013200408 Steps to reproduce: * Shut down my PC, without closing Firefox first. * Log in and start Filrefox. Actual results: Next time I launch FF, I get "Well this is embarassing" message. I get it _every time_ I open FF, because I never explicitly close FF on logging off. And every time I have to hit "Restore" (because that's what I need), and every time it restores successfully. (Note: this behavior stays with me like for ever, since the first day I've installed Ubuntu 12.04. It's not only for the latest FF build.) Expected results: Don't show this message if FF is able to open my last session. I suspect the problem here is that shut down looks like a crash to FF under Ubuntu. And so, on a boot up, it thinks that last session crashed, and last but one crashed as well. I'd like to: * either be able to tell FF to not ask me for confirmation and always try to restore right away (provided that there would be a way to manually disable this behavior in profile folder if it in fact did make FF go into a dead loop in some distant future) * or, preferred but probably more complex, fix FF to NOT treat Ubuntu shut down as a crash.
Just to clarify: by "Embarassing" I refer to a page "Well, this is embarrassing, the FF crashed etc." which is supposed to open if FF has crashed two or more times in a row.
Set the browser.sessionstore.max_resumed_crashes pref to -1 in about:config to get the behaviour you want. I don't think we should add a UI pref for this. The reason we check this is to avoid people getting stuck in an infinite crash loop (ie the browser crashes, they restore tabs when restarting, the browser crashes again, etc. etc. ). Philipp/Tim, can you confirm? :-)
Component: Untriaged → Session Restore
Flags: needinfo?(ttaubert)
Flags: needinfo?(philipp)
(In reply to vano_t@pochta.ru from comment #0) > * or, preferred but probably more complex, fix FF to NOT treat Ubuntu shut > down as a crash. We can't differentiate between a real Firefox crash and Ubuntu shutting down and killing Firefox. There was a similar bug about this before but I can't find it right now. If you don't want this to happen you should quit regularly. (In reply to :Gijs Kruitbosch from comment #2) > Set the browser.sessionstore.max_resumed_crashes pref to -1 in about:config > to get the behaviour you want. That's indeed something you can do and we will never automatically restore a session after a crash. That of course means you will lose the protection we can offer against real Firefox crashes. I suggest to close this as WONTFIX, from Firefox' point of view it does not really matter whether we are killed or crash. Both situations might cause us to lose some amount of data and we don't have the chance to properly shut down.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(ttaubert)
Resolution: --- → WONTFIX
I agree with the general sentiment that this is more of an Ubuntu issue than a issue problem.
Flags: needinfo?(philipp)
Is there a bug filed against Ubuntu to send Firefox a proper "please shut yourself down cleanly" message, like Windows and Mac do?
You need to log in before you can comment on or make changes to this bug.