Bug 136350 - Firefox 2.0 session not saved properly with KDE shutdown
Summary: Firefox 2.0 session not saved properly with KDE shutdown
Status: RESOLVED NOT A BUG
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-26 18:32 UTC by Thanos Kyritsis
Modified: 2007-02-25 10:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thanos Kyritsis 2006-10-26 18:32:55 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Slackware Packages
OS:                Linux

Shutting down KDE while having Firefox 2.0 open and then logging back in KDE, which normally loads the previous session, results in Firefox 2.0 complaining that the session wasn't shutdown correctly and asks what to do.

This is always reproducable.

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:  
Firefox is started but notices that it wasn't shut down properly.

The rest of the session starts without any problems or notices.

It's noted as a bug in mozilla's bugzilla, right here: https://bugzilla.mozilla.org/show_bug.cgi?id=354686

That bugzilla's comment #4 suggests the KDE developers are to be notified, so this is it.
Comment 1 Juhani Åhman 2006-11-01 19:57:16 UTC
Confirming bug, using KDE 3.5.5 on Gentoo Linux.
Comment 2 Lubos Lunak 2006-11-28 14:02:42 UTC
Sorry, it is still not our job to fix Mozilla's long-lasting inability to fix their session management.
Comment 3 Lubos Lunak 2006-11-28 14:06:08 UTC
As a workaround you can explicitly exclude Firefox from session management in the kcontrol module. There's nothing else KDE can do here.
Comment 4 Johannes Wienke 2006-11-28 20:12:19 UTC
Well, Mozillas says this is a KDE-problem and you say it's a Mozilla-problem. What can be done to find a solution for this problem?
Comment 5 Lubos Lunak 2006-11-28 20:24:08 UTC
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.
Comment 6 Esben Mose Hansen 2007-02-25 10:27:25 UTC
For cross reference, just in case people are stopping by, there seems to be a 2002 and a 2006 bug on this.

https://bugzilla.mozilla.org/show_bug.cgi?id=354686
https://bugzilla.mozilla.org/show_bug.cgi?id=93789

From those bugs, it would seem that this is, indeed, a firefox bug.