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 690431 - 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: gnome-robots
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-robots-maint
gnome-robots-maint
Depends on:
Blocks:
 
 
Reported: 2012-12-18 16:45 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.95 KB, patch)
2014-01-15 23:35 UTC, Michael Catanzaro
committed Details | Review

Description Vincent Untz 2012-12-18 16:45:04 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 Mario Wenzel 2013-09-20 15:42:50 UTC
Exacerbated by https://bugzilla.gnome.org/show_bug.cgi?id=708469
Comment 2 Michael Catanzaro 2014-01-15 23:35:55 UTC
The following fix has been pushed:
2652601 Move scores from /var/games to home directory
Comment 3 Michael Catanzaro 2014-01-15 23:35:57 UTC
Created attachment 266418 [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