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 766478 - scores are duplicated
scores are duplicated
Status: RESOLVED FIXED
Product: quadrapassel
Classification: Applications
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: quadrapassel-maint
quadrapassel-maint
Depends on:
Blocks:
 
 
Reported: 2016-05-15 14:43 UTC by Michael Biebl
Modified: 2016-05-16 20:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2016-05-15 14:43:32 UTC
Version: 3.20.0

high scores are duplicated when the application exits. The history file looks like
$ cat .local/share/quadrapassel/history 
2016-05-15T16:40:52+0200 10040
2016-05-15T16:40:57+0200 10040
Comment 1 Mario Wenzel 2016-05-16 20:13:55 UTC
Thank you for this report.

In the past, we stopped a game by destroying it. Then we kept the games around and added a game_over-flag. The code that saves the history on exit was not changed to check the flag.

This bug is now fixed in master and will be included in the next major release (3.22).

https://git.gnome.org/browse/quadrapassel/commit/?id=a6cdde385323277bca617060aabb386e0b95c198
Comment 2 Michael Catanzaro 2016-05-16 20:33:56 UTC
If this is broken in 3.20, can be backport the fix please?
Comment 3 Mario Wenzel 2016-05-16 20:41:44 UTC
Sure we can. Is there another 3.20.x release planned? If not, which one should I do whenever? I haven't done any 3.20 after .0 this cycle since it wasn't really neccessary.