After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589115 - Galeon fails to honour ~/.galeon/session_crashed.xml if invoked with --load-session
Galeon fails to honour ~/.galeon/session_crashed.xml if invoked with --load-s...
Status: RESOLVED WONTFIX
Product: galeon
Classification: Deprecated
Component: general
2.0.7
Other All
: Normal critical
: ---
Assigned To: galeon-maint
galeon-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-07-20 10:53 UTC by Michel Dänzer
Modified: 2014-08-26 19:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (4.50 KB, patch)
2009-07-20 11:00 UTC, Michel Dänzer
none Details | Review

Description Michel Dänzer 2009-07-20 10:53:37 UTC
Please describe the problem:
I'm going to attach a patch which fixes this and other issues related to GNOME session management.

Steps to reproduce:
1. Make Galeon part of a GNOME 2.26 or newer (gnome-session 2.26.1 or newer) session.
2. Abort the GNOME session uncleanly (e.g. due to X server crash or similar).
3. Start GNOME session again.


Actual results:
Galeon ignores the ~/.galeon/session_crashed.xml file and restores the session from the file passed in with --load-session. However that file wasn't updated on the unclean session shutdown, so it's clobbering the autosaved session with an outdated one.

Expected results:
Galeon honours ~/.galeon/session_crashed.xml regardless of how it's started.

Does this happen every time?
Yes.

Other information:
Comment 1 Michel Dänzer 2009-07-20 11:00:09 UTC
Created attachment 138798 [details] [review]
Proposed fix

This patch fixes the problem by deferring the handling of --load-session to session_autoresume(), after checking for ~/.galeon/session_crashed.xml.

It also doesn't generate a new ~/.galeon/session_gnome-*.xml filename on every call to save_yourself_cb() but keeps the first one, either passed in by --load-session or generated on the first call. This avoids the proliferation of stale ~/.galeon/session_gnome-*.xml files after unclean shutdowns.
Comment 2 André Klapper 2014-08-26 19:51:04 UTC
Galeon has not seen any code changes since May 2010:
https://git.gnome.org/browse/archive/galeon/log

This project is not under active development anymore and got recently archived in GNOME Git.

It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this bug report in the future if anyone
takes the responsibility for active development again. 
If you are interested in maintainership, inform
https://mail.gnome.org/mailman/listinfo/desktop-devel-list