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 531240 - Game is not saved but marked as lost at exit
Game is not saved but marked as lost at exit
Status: RESOLVED NOTABUG
Product: aisleriot
Classification: Other
Component: general
pre-3.0
Other All
: Normal enhancement
: ---
Assigned To: aisleriot-maint
aisleriot-maint
: 516216 707160 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-05-03 15:54 UTC by Sense Hofstede
Modified: 2013-09-15 17:26 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Sense Hofstede 2008-05-03 15:54:46 UTC
As reported in LP #226173 by Arnfinn Fornes:
When you've been playing FreeCell for a while and exit before the game has ended, the game is marked as lost. He suggests to save the current state of the game when you exit and restore it at restart of the program.
URL to Launchpad bug report:
https://bugs.launchpad.net/ubuntu/+source/gnome-games/+bug/226173
Comment 1 Christian Persch 2008-09-29 18:46:31 UTC
(Just for reference, Aisleriot game state saving was discussed a bit in this ML thread: http://mail.gnome.org/archives/games-list/2005-August/msg00002.html .)

Personally, I think it's not worth the code.
Comment 2 Vincent Povirk 2009-02-28 04:14:29 UTC
I think it'd be easy to implement on the scheme side a (save-state filename)/(load-state filename) function pair. The undo/redo code already does most of the work. I don't know about the C side.
Comment 3 Christian Persch 2009-04-29 20:00:21 UTC
Notwithstanding comment 1, having code to save the state and restore it would be nice to have to debug problems in the scheme code; we could create this state when writing the exception data.
Comment 4 Christian Persch 2010-01-05 20:17:34 UTC
*** Bug 516216 has been marked as a duplicate of this bug. ***
Comment 5 Christian Persch 2011-04-25 12:05:51 UTC
Mass-moving only open aisleriot bugs to the new product. Search for "aisleriot-mass-move" to filter them.
Comment 6 Christian Persch 2011-10-05 20:16:19 UTC
Not going to happen; closing.
Comment 7 Christian Persch 2013-09-15 17:26:43 UTC
*** Bug 707160 has been marked as a duplicate of this bug. ***