Closed Bug 354686 Opened 18 years ago Closed 17 years ago

session not saved properly with KDE shutdown

Categories

(Firefox :: Shell Integration, defect)

2.0 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 93789

People

(Reporter: languitar, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1) Gecko/20060918 Firefox/2.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1) Gecko/20060918 Firefox/2.0

FF2 seems to run really stable, but there's just one annoying little thing: I use Linux wit KDE an normally my desktop programms are left running when I shut down the system. Native KDE programms seem to get a special call or something like that, so that they save their session properly but that never really worked with the mozilla products (I noticed that, because bookmark synchronzier didn't sync when shutting down the system). So now the problem with FF 2: Everytime I start my computer, FF notices, that the session wasn't shutdown correctly and asks what to do.

Reproducible: Always

Steps to Reproduce:
1. Launch Firefox and leave it open
2. close your KDE-session or shutdown / restart your computer with the KDE-dialog
3. restore your KDE-Session
Actual Results:  
FF is started but notices, that it wasn't shut down properly.

Expected Results:  
Session starts without any problems or notices.
Version: unspecified → 2.0 Branch
Sounds like bug 346802 (which was for windows)
Well, seems to be connected to that problem, but I think the mechanism for closing a session an restoring it in KDE is different to the one from windows. Windows doesn't restart the programms, if they are left running while shutting windows whereas KDE's attempt is to restore the whole desktop exactly as it was before. And that never worked correctly with Mozilla software.
Right. It has something to do with how KDE is killing of the process when it shuts down. 

I haven't tested this on GNOME, but it wouldn't surprise me if the same thing happened. (We should really try and tie into the GNOME "session saving" spec. now that we can sort of actually save a session.)
This corresponds to bug 333907 (its Windows counterpart) and is less of a SessionStore issue and more of a XRE one: XRE doesn't correctly notify at OS shutdown. You'll thus rather have to CC KDE/Linux XRE devs to get this rolling.

As for GNOME "session saving" integration, please file a new bug (and add an URL to the spec) since that's a different issue (enhancement rather than bug).
Ok, I filled a bug in KDE's bugzilla as well. (Of course, I also do confirm the existence of this bug).

Here it is: https://bugs.kde.org/show_bug.cgi?id=136350

Let's see what happens now.
Well, the KDE-developers say that it is a Mozilla-problem? Is there any possibility to find a solution?
Copied from the KDE bug. Is there any plan to implement XSMP protocol support?

"Mozilla doesn't support the XSMP protocol, only the primitive and old WM_SAVE_YOURSELF protocol. Which means that during session save it gets a message to save yourself and then it simply gets killed during X shutdown.

The only thing KDE could do would be removing hacks working around Mozilla bugs in their session handling and disabling session support for it altogether."
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.