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 690429 - Scores should be saved in home folders (in addition to/replacement of /var/games)
Scores should be saved in home folders (in addition to/replacement of /var/ga...
Status: RESOLVED FIXED
Product: five-or-more
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: five-or-more-maint
five-or-more-maint
Depends on:
Blocks:
 
 
Reported: 2012-12-18 16:44 UTC by Vincent Untz
Modified: 2014-01-15 23:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Move scores from /var/games to home directory (40.69 KB, patch)
2014-01-15 23:35 UTC, Michael Catanzaro
committed Details | Review

Description Vincent Untz 2012-12-18 16:44:57 UTC
+++ This bug was initially created as a clone of Bug #638425 +++

Since scores are stored in /var/games, users depend on the system administrator. For example, if the system is installed again or if users move to another computer, users can loose their scores.

Personally, I consider games scores as user data, so it would make sense to save them in home folders (or to have an option to make users able to).

The first time I lost all my scores, I was a bit disappointed, I thought they were saved in my home folder.
Comment 1 Michael Catanzaro 2014-01-15 23:35:35 UTC
The following fix has been pushed:
fdf6d2d Move scores from /var/games to home directory
Comment 2 Michael Catanzaro 2014-01-15 23:35:37 UTC
Created attachment 266417 [details] [review]
Move scores from /var/games to home directory

The score system was originally designed for multi-user systems where
storing scores in a central location allowed different users on the same
computer at different times to compete amongst each other for high
scores. This might still be fun in a computer lab, but nowadays most
users have individual machines, and we are more concerned about ensuring
a user's scores are his own data, on his home partition, to remain even
after blowing away / for an OS upgrade.

All of the modernized games have already switched to scores in the home
directory: time for the rest to do so as well.

Also, I get to delete a lot of code, and that's fun.

https://bugzilla.gnome.org/show_bug.cgi?id=690430